Edit

Share via


Contact.Bind Method

Definition

Overloads

Bind(ExchangeService, ItemId)

Binds to an existing contact and loads its first class properties. Calling this method results in a call to Exchange Web Services (EWS).

Bind(ExchangeService, ItemId, PropertySet)

Binds to an existing contact and loads the specified set of properties. Calling this method results in a call to Exchange Web Services (EWS).

Bind(ExchangeService, ItemId)

Binds to an existing contact and loads its first class properties. Calling this method results in a call to Exchange Web Services (EWS).

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

Parameters

service
ExchangeService

The service to use to bind to the contact.

id
ItemId

The ID of the contact to bind to.

Returns

The contact that corresponds to the specified ID.

Applies to

Bind(ExchangeService, ItemId, PropertySet)

Binds to an existing contact and loads the specified set of properties. Calling this method results in a call to Exchange Web Services (EWS).

public:
 static Microsoft::Exchange::WebServices::Data::Contact ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::ItemId ^ id, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet);
public static Microsoft.Exchange.WebServices.Data.Contact Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.ItemId id, Microsoft.Exchange.WebServices.Data.PropertySet propertySet);

Parameters

service
ExchangeService

The service to use to bind to the contact.

id
ItemId

The ID of the contact to bind to.

propertySet
PropertySet

The set of properties to load.

Returns

The contact that corresponds to the specified ID.

Applies to