Item.Bind Método

Definição

Sobrecargas

Bind(ExchangeService, ItemId)

Vincula-se a um item existente, seja qual for o tipo real, e carrega as respetivas propriedades de primeira classe. Chamar este método resulta numa chamada para os Serviços Web do Exchange (EWS).

Bind(ExchangeService, ItemId, PropertySet)

Vincula-se a um item existente, seja qual for o seu tipo real, e carrega o conjunto especificado de propriedades.

Bind(ExchangeService, ItemId)

Vincula-se a um item existente, seja qual for o tipo real, e carrega as respetivas propriedades de primeira classe. Chamar este método resulta numa chamada para os Serviços Web do Exchange (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

Parâmetros

service
ExchangeService

O serviço a utilizar para vincular ao item.

id
ItemId

O ID do item a vincular.

Retornos

Uma instância de Item que representa o item que corresponde ao ID especificado.

Exceções

Para obter detalhes sobre esta exceção, consulte Bind(ExchangeService, ItemId).

Aplica-se a

Bind(ExchangeService, ItemId, PropertySet)

Vincula-se a um item existente, seja qual for o seu tipo real, e carrega o conjunto especificado de propriedades.

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);

Parâmetros

service
ExchangeService

O serviço a utilizar para vincular ao item.

id
ItemId

O ID do item a vincular.

propertySet
PropertySet

O conjunto de propriedades a carregar.

Retornos

Uma instância de Item que representa o item correspondente ao ID especificado.

Exceções

Para obter detalhes sobre esta exceção, consulte Bind(ExchangeService, ItemId).

Aplica-se a