RoomMessageDictionary.Add method
Add a key/value pair composed of RoomMessageType and the message text as a string.
Namespace: Microsoft.Lync.Model.Room
Assembly: Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)
Syntax
'Declaration
Public Sub Add ( _
key As RoomMessageFormat, _
value As Object _
)
'Usage
Dim instance As RoomMessageDictionary
Dim key As RoomMessageFormat
Dim value As Object
instance.Add(key, value)
public void Add(
RoomMessageFormat key,
Object value
)
Parameters
- value
Type: System.Object
Remarks
You can only add a single message of a given RoomMessageType enumerator. This means that you can add a version of your message in plain text and a version in rich text format (rtf). You must always add a plain text version and rtf version is optiona.