Share via


ContentType Property

Gets the MIME type of the relay message.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public ReadOnly Property ContentType As ContentType
    Get
'Usage
Dim instance As InstantMessageReceivedEventArgs
Dim value As ContentType

value = instance.ContentType
public ContentType ContentType { get; }

Property Value

Type: System.Net.Mime..::..ContentType

Remarks

Can be null if the message has no content type.

See Also

Reference

InstantMessageReceivedEventArgs Class

InstantMessageReceivedEventArgs Members

Microsoft.Rtc.Collaboration Namespace