Item.Bind method (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).

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public static Item Bind(
	ExchangeService service,
	ItemId id
)

Parameters

service
Type: Microsoft.Exchange.WebServices.Data.ExchangeService

The service to use to bind to the item.

id
Type: Microsoft.Exchange.WebServices.Data.ItemId

The ID of the item to bind to.

Return value

Type: Microsoft.Exchange.WebServices.Data.Item
An Item instance representing the item that corresponds to the specified ID.

ExceptionCondition
System.ArgumentNullException

For details about this exception, see Appointment.Bind(ExchangeService, ItemId).

Show: