ContactManager.GroupAdded Event

Occurs when a group is added to the Groups collection.

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

Syntax

'Declaration
Public Event GroupAdded As EventHandler(Of GroupCollectionChangedEventArgs)
'Usage
Dim instance As ContactManager
Dim handler As EventHandler(Of GroupCollectionChangedEventArgs)

AddHandler instance.GroupAdded, handler
public event EventHandler<GroupCollectionChangedEventArgs> GroupAdded

Remarks

When Lync is not signed in, the Groups collection is empty. Upon signing in, Lync Server provisions the client with all of the local user's groups. When each individual group is provisioned, this event occurs. If Lync is already signed in when your application starts up, this event does not occur. This is because Lync Server has already provisioned Lync with all of the local user's groups. When the local user creates a new group, Lync Server provisions the client with the created group and the event is Occurs for the newly created group.

See Also

Reference

ContactManager Class

ContactManager Members

Microsoft.Lync.Model Namespace