Partilhar via


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

Return Value

Type: Microsoft.Rtc.Signaling.RealTimeAddress
The address of the contact.

Exceptions

Exception Condition
ArgumentNullException

Thrown when contact is null.

See Also

Reference

Contact Class

Contact Members

Microsoft.Rtc.Collaboration.ContactsGroups Namespace