MessageContent Property
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

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)

public string MessageContent { get; private set; }

Property Value

Type: System.String
The message body.

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.

Show:
© 2016 Microsoft