Table of Contents

Class ContactsFolder

Namespace
Microsoft.Exchange.WebServices.Data
Assembly
Microsoft.Exchange.WebServices.dll

Represents a folder containing contacts.

public class ContactsFolder : Folder
Inheritance
ContactsFolder
Inherited Members

Constructors

ContactsFolder(ExchangeService)

Initializes an unsaved local instance of ContactsFolder. To bind to an existing contacts folder, use ContactsFolder.Bind() instead.

public ContactsFolder(ExchangeService service)

Parameters

service ExchangeService

The ExchangeService object to which the contacts folder will be bound.

Methods

Bind(ExchangeService, FolderId)

Binds to an existing contacts folder and loads its first class properties.

public static ContactsFolder Bind(ExchangeService service, FolderId id)

Parameters

service ExchangeService

The service to use to bind to the contacts folder.

id FolderId

The Id of the contacts folder to bind to.

Returns

ContactsFolder

A ContactsFolder instance representing the contacts folder corresponding to the specified Id.

Bind(ExchangeService, FolderId, PropertySet)

Binds to an existing contacts folder and loads the specified set of properties.

public static ContactsFolder Bind(ExchangeService service, FolderId id, PropertySet propertySet)

Parameters

service ExchangeService

The service to use to bind to the contacts folder.

id FolderId

The Id of the contacts folder to bind to.

propertySet PropertySet

The set of properties to load.

Returns

ContactsFolder

A ContactsFolder instance representing the contacts folder corresponding to the specified Id.

Bind(ExchangeService, WellKnownFolderName)

Binds to an existing contacts folder and loads its first class properties.

public static ContactsFolder Bind(ExchangeService service, WellKnownFolderName name)

Parameters

service ExchangeService

The service to use to bind to the contacts folder.

name WellKnownFolderName

The name of the contacts folder to bind to.

Returns

ContactsFolder

A ContactsFolder instance representing the contacts folder with the specified name.

Bind(ExchangeService, WellKnownFolderName, PropertySet)

Binds to an existing contacts folder and loads the specified set of properties.

public static ContactsFolder Bind(ExchangeService service, WellKnownFolderName name, PropertySet propertySet)

Parameters

service ExchangeService

The service to use to bind to the contacts folder.

name WellKnownFolderName

The name of the contacts folder to bind to.

propertySet PropertySet

The set of properties to load.

Returns

ContactsFolder

A ContactsFolder instance representing the contacts folder with the specified name.