Contact Implicit Conversion (Contact to RealTimeAddress)
Gets the RealTimeAddress of the contact.
Namespace: Microsoft.Rtc.Collaboration.ContactsGroups
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
contact As Contact _
) As RealTimeAddress
'Usage
Dim input As Contact
Dim output As RealTimeAddress
output = CType(input, RealTimeAddress)
public static implicit operator RealTimeAddress (
Contact contact
)
Parameters
- contact
Type: Microsoft.Rtc.Collaboration.ContactsGroups.Contact
The contact to convert.
Return Value
Type: Microsoft.Rtc.Signaling.RealTimeAddress
The address of the contact.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when contact is null. |