IContactProperties Interface

Do not use. Used to retrieve, set, create, and remove properties on an IContact. Property names and extension mechanisms are described in icontactproperties.h.

Members

The IContactProperties interface inherits from the IUnknown interface. IContactProperties also defines the following types of members:

Methods

The IContactProperties interface defines the following methods.

MethodDescription
CreateArrayNode

Creates a new array node in a multi-value property.

DeleteArrayNode

Deletes the data at a specified array entry.

DeleteLabels

Deletes the labels at a specified array entry.

DeleteProperty

Deletes the value at a specified property. Property modification and version data can still be enumerated with IContactPropertyCollection.

GetBinary

Retrieves the binary data of a property using an IStream interface [Structured Storage].

GetDate

Retrieves the date and time value at a specified property into a caller's FILETIME structure. All times are stored and returned as UTC.

GetLabels

Retrieves the labels for a specified array element name.

GetPropertyCollection

Returns an IContactPropertyCollection for the current contact. Optionally, filters the IContactPropertyCollection to enumerate only some values.

GetString

Retrieves the string value at a specified property into a caller-allocated buffer.

SetBinary

Sets the binary data at a specified property to the contents of a specified IStream interface [Structured Storage], which contains a null-terminated string (as MIME type) data.

SetDate

Sets the date and time value at a specified property to a given FILETIME. All times are stored and returned as UTC.

SetLabels

Appends the set of labels passed in to the specified property's label set. Note: This method does not check for duplicate labels.

SetString

Sets the string value of a specified property to that of a specified null-terminated string.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Contact.h

IDL

Icontact.idl

DLL

Wab32.dll version 6.0 or later

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2010

Community Additions

ADD
Show: