Share via


ContentSharingModality.ContentAdded event

Raised when any conversation participant has added a ShareableContent object to the conversation.

Namespace:  Microsoft.Lync.Model.Conversation.Sharing
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

Syntax

'Declaration
Public Event ContentAdded As EventHandler(Of ContentCollectionChangedEventArgs)
'Usage
Dim instance As ContentSharingModality
Dim handler As EventHandler(Of ContentCollectionChangedEventArgs)

AddHandler instance.ContentAdded, handler
public event EventHandler<ContentCollectionChangedEventArgs> ContentAdded

Remarks

Be careful about calling the ShareableContent.Present() method on the added ShearableContent object. This event is raised when content is added by any participant, while you can only invoke the Present() method on content added by the local user.

See also

Reference

ContentSharingModality class

ContentSharingModality members

Microsoft.Lync.Model.Conversation.Sharing namespace