Edit

Share via


ContactsFolder.Bind Method

Definition

Overloads

Bind(ExchangeService, FolderId)

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

Bind(ExchangeService, WellKnownFolderName)

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

Bind(ExchangeService, FolderId, PropertySet)

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

Bind(ExchangeService, WellKnownFolderName, PropertySet)

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

Bind(ExchangeService, FolderId)

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

public:
 static Microsoft::Exchange::WebServices::Data::ContactsFolder ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::FolderId ^ id);
public static Microsoft.Exchange.WebServices.Data.ContactsFolder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.FolderId id);
Public Shared Function Bind (service As ExchangeService, id As FolderId) As ContactsFolder

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

A ContactsFolder instance that represents the contacts folder that corresponds to the specified ID.

Applies to

Bind(ExchangeService, WellKnownFolderName)

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

public:
 static Microsoft::Exchange::WebServices::Data::ContactsFolder ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::WellKnownFolderName name);
public static Microsoft.Exchange.WebServices.Data.ContactsFolder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.WellKnownFolderName name);
Public Shared Function Bind (service As ExchangeService, name As WellKnownFolderName) As ContactsFolder

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

A ContactsFolder instance that represents the contacts folder with the specified name.

Applies to

Bind(ExchangeService, FolderId, PropertySet)

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

public:
 static Microsoft::Exchange::WebServices::Data::ContactsFolder ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::FolderId ^ id, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet);
public static Microsoft.Exchange.WebServices.Data.ContactsFolder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.FolderId id, Microsoft.Exchange.WebServices.Data.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

A ContactsFolder instance that represents the contacts folder that corresponds to the specified ID.

Applies to

Bind(ExchangeService, WellKnownFolderName, PropertySet)

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

public:
 static Microsoft::Exchange::WebServices::Data::ContactsFolder ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::WellKnownFolderName name, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet);
public static Microsoft.Exchange.WebServices.Data.ContactsFolder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.WellKnownFolderName name, Microsoft.Exchange.WebServices.Data.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

A ContactsFolder instance that represents the contacts folder with the specified name.

Applies to