Item.Bind Item.Bind Item.Bind Method

Definition

Overloads

Bind(ExchangeService, ItemId) Bind(ExchangeService, ItemId) Bind(ExchangeService, ItemId)

Binds to an existing item, whatever its actual type is, and loads its first class properties. Calling this method results in a call to Exchange Web Services (EWS).

Bind(ExchangeService, ItemId, PropertySet) Bind(ExchangeService, ItemId, PropertySet)

Binds to an existing item, whatever its actual type is, and loads the specified set of properties.

Bind(ExchangeService, ItemId) Bind(ExchangeService, ItemId) Bind(ExchangeService, ItemId)

Binds to an existing item, whatever its actual type is, and loads its first class properties. Calling this method results in a call to Exchange Web Services (EWS).

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

The service to use to bind to the item.

id
ItemId ItemId ItemId

The ID of the item to bind to.

Returns

An Item instance representing the item that corresponds to the specified ID.

Exceptions

Bind(ExchangeService, ItemId, PropertySet) Bind(ExchangeService, ItemId, PropertySet)

Binds to an existing item, whatever its actual type is, and loads the specified set of properties.

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

The service to use to bind to the item.

id
ItemId ItemId ItemId

The ID of the item to bind to.

propertySet
PropertySet PropertySet PropertySet

The set of properties to load.

Returns

An Item instance representing the item corresponding to the specified ID.

Exceptions

Applies to