ProviderName Property  
 

Gets the name of a supported wireless service provider.

Syntax

object.ProviderName( index )

Remarks

The ProviderName property array returns the name of supported wireless service provider. This property is used in conjunction with the ProviderCount property to enumerate all of the supported service providers. Typically this done to populate a user-interface control that enables the user to select a preferred service provider. The first provider name has an index value of zero. Specifying an invalid index value will cause the control to throw an exception.

Data Type

String

Example

With TextMessage1
    For nIndex = 0 To .ProviderCount - 1
        ComboBox1.AddItem .ProviderName(nIndex)
    Next
End With
          

See Also

Provider Property, ProviderCount Property, GetAddress Method, GetProvider Method