Folder.Bind method (ExchangeService, FolderId)

Binds to an existing folder, whatever its actual type is, and loads its first class properties.

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

public static Folder Bind(
	ExchangeService service,
	FolderId id
)

Parameters

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

The service to use to bind to the folder.

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

The identifier of the folder to bind to.

Return value

Type: Microsoft.Exchange.WebServices.Data.Folder
The folder that corresponds to the specified ID.

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

Show: