ProviderCount Property  
 

Gets the number of supported wireless service providers.

Syntax

object.ProviderCount

Remarks

The ProviderCount property returns the number of wireless service providers supported by the control. This property is used in conjunction with the ProviderName 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.

Data Type

Integer (Int32)

Example

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

See Also

Provider Property, ProviderName Property, GetAddress Method, GetProvider Method