UccContainerMemberCollectionEvent Constructor

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.

Initializes a new instance of the UccContainerMemberCollectionEvent Class .

Namespace: Microsoft.Office.Interop.UccApi
Assembly: Microsoft.Office.Interop.UccApi (in microsoft.office.interop.uccapi.dll)

Syntax

'Declaration
Protected Sub New
protected UccContainerMemberCollectionEvent ()
protected:
UccContainerMemberCollectionEvent ()
protected UccContainerMemberCollectionEvent ()
protected function UccContainerMemberCollectionEvent ()

Remarks

As an abstract class, UccContainerMemberCollectionEvent does not expose a callable constructor. A client must handle container events to obtain an instance of this class. The IUccContainerMemberCollectionEvent interface is implemented by this class and provides access to the container member affected by the container operation that raises a container event.

Example

The following example handles the OnMemberRemoved event and uses the provided UccContainerMemberCollectionEvent class instance to obtain a reference to an IUccContainerMember interface.

void _IUccContainerEvents.OnMemberRemoved(
   IUccContainer pContainer, 
   UccContainerMemberCollectionEvent pEventData)
{
   this.cm = pEventData.ContainerMember;
}

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2000 with Service Pack 4, Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

UccContainerMemberCollectionEvent Class
UccContainerMemberCollectionEvent Members
Microsoft.Office.Interop.UccApi Namespace