HasTextBody Property

Gets whether the [TextBody] field has been filled out.

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


Public ReadOnly Property HasTextBody As Boolean
Dim instance As MessageReceivedEventArgs
Dim value As Boolean

value = instance.HasTextBody
public bool HasTextBody { get; }

Property Value

Type: System..::..Boolean
true if the [TextBody] is available, otherwise false.


The text body is considered available if the content type starts with "text/" and an encoding object such as UTF8 or UTF16 is available to decode the body into text based on the charset mentioned in the content type.

See Also


MessageReceivedEventArgs Class

MessageReceivedEventArgs Members

Microsoft.Rtc.Signaling Namespace