Share via


HasTextBody Property

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

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

Syntax

'Declaration
Public ReadOnly Property HasTextBody As Boolean
    Get
'Usage
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.

Remarks

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

Reference

MessageReceivedEventArgs Class

MessageReceivedEventArgs Members

Microsoft.Rtc.Signaling Namespace