Contact.Bind 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Bind(ExchangeService, ItemId) |
绑定到现有触点并加载其第一类属性。 调用此方法会导致调用 Exchange Web Services (EWS) 。 |
Bind(ExchangeService, ItemId, PropertySet) |
绑定到现有联系人并加载指定的属性集。 调用此方法会导致调用 Exchange Web Services (EWS) 。 |
Bind(ExchangeService, ItemId)
绑定到现有触点并加载其第一类属性。 调用此方法会导致调用 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
参数
- service
- ExchangeService
用于绑定到联系人的服务。
- id
- ItemId
要绑定到的联系人的 ID。
返回
与指定 ID 对应的联系人。
适用于
Bind(ExchangeService, ItemId, PropertySet)
绑定到现有联系人并加载指定的属性集。 调用此方法会导致调用 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);
参数
- service
- ExchangeService
用于绑定到联系人的服务。
- id
- ItemId
要绑定到的联系人的 ID。
- propertySet
- PropertySet
要加载的属性集。
返回
与指定 ID 对应的联系人。