MessageContent Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
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.