UccPresenceContactCardInstance 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 UccPresenceContactCardInstance Class .

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

Syntax

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

Remarks

This class is never referenced directly. Instead, the default interface (IUccPresenceContactCardInstance) is obtained and used instead. An application receives a category instance representing a contact card instance and casts it to the IUccPresenceContactCardInstance.

Example

The following example obtains the presence contact card instance from a category instance received in an event handler where pEventSource is of type IUccCategoryInstance.

IUccPresenceContactCardInstance card = pEventSource as IUccPresenceContactCardInstance;

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

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