Item.Bind メソッド

定義

オーバーロード

Bind(ExchangeService, ItemId)

実際の型が何であれ、既存の項目にバインドし、その最初のクラスプロパティを読み込みます。 このメソッドを呼び出すと、Exchange Web Services (EWS) が呼び出されます。

Bind(ExchangeService, ItemId, PropertySet)

実際の型が何であれ、既存の項目にバインドし、指定したプロパティ セットを読み込みます。

Bind(ExchangeService, ItemId)

実際の型が何であれ、既存の項目にバインドし、その最初のクラスプロパティを読み込みます。 このメソッドを呼び出すと、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

パラメーター

service
ExchangeService

アイテムへのバインドに使用するサービス。

id
ItemId

バインドする項目の ID。

戻り値

指定した ID に対応する項目を表す Item インスタンス。

例外

この例外の詳細については、「」を参照してください Bind(ExchangeService, ItemId)

適用対象

Bind(ExchangeService, ItemId, 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);
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);

パラメーター

service
ExchangeService

アイテムへのバインドに使用するサービス。

id
ItemId

バインドする項目の ID。

propertySet
PropertySet

読み込むプロパティのセット。

戻り値

指定した ID に対応する項目を表す Item インスタンス。

例外

この例外の詳細については、「」を参照してください Bind(ExchangeService, ItemId)

適用対象