Edit

Share via


PostItem.Bind Method

Definition

Overloads

Bind(ExchangeService, ItemId)

Binds to an existing post item and loads its first class properties.

Bind(ExchangeService, ItemId, PropertySet)

Binds to an existing post item and loads the specified property set.

Bind(ExchangeService, ItemId)

Binds to an existing post item and loads its first class properties.

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

Parameters

service
ExchangeService

The service to use to bind to the post item.

id
ItemId

The identifier of the post item to bind to.

Returns

A post item.

Remarks

Calling this method results in a call to Exchange Web Services (EWS).

Applies to

Bind(ExchangeService, ItemId, PropertySet)

Binds to an existing post item and loads the specified property set.

public:
 static Microsoft::Exchange::WebServices::Data::PostItem ^ 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.PostItem 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 post item.

id
ItemId

The identifier of the post item to bind to.

propertySet
PropertySet

The set of properties to load.

Returns

A post item.

Remarks

Call this method results in a call to Exchange Web Services (EWS).

Applies to