ChatMessage.MessageContent Property

Gets the content of the chat message.

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

Syntax

'Declaration
Public Property MessageContent As String
    Get
    Private Set
'Usage
Dim instance As ChatMessage
Dim value As String

value = instance.MessageContent
public string MessageContent { get; private set; }

Property Value

Type: System.String
The message body.

Remarks

MessageContent returns unparsed content, which is the raw text representing a chat message. Emoticons, links, and other items are returned using their plain text equivalent, and as a result may lose some meaning when displayed to an end user. If necessary, the content can be parsed into FormattedMessageParts and returned in a more meaningful manner.

See Also

Reference

ChatMessage Class

ChatMessage Members

Microsoft.Rtc.Collaboration.GroupChat Namespace