PhoneNumber Constructor (String, String)
Create an instance of PhoneNumber
Namespace: Microsoft.Rtc.Collaboration.Presence
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
phoneType As String, _
displayValue As String _
)
'Usage
Dim phoneType As String
Dim displayValue As String
Dim instance As New PhoneNumber(phoneType, _
displayValue)
public PhoneNumber(
string phoneType,
string displayValue
)
Parameters
- phoneType
Type: System.String
Type of phone(work/home/mobile/other).
- displayValue
Type: System.String
Phone number as common display string
Remarks
This constructor assume the display string for phone represents the phone number and build phoneUri as "tel:"+displayString.