CalendarFolder.Bind Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Bind(ExchangeService, FolderId) |
Binds to an existing calendar folder and loads its first class properties. Calling this method results in a call to Exchange Web Services (EWS). |
Bind(ExchangeService, WellKnownFolderName) |
Binds to an existing calendar folder and loads its first class properties. Calling this method results in a call to Exchange Web Services (EWS). |
Bind(ExchangeService, FolderId, PropertySet) |
Binds to an existing calendar folder and loads the specified set of properties. Calling this method results in a call to Exchange Web Services (EWS). |
Bind(ExchangeService, WellKnownFolderName, PropertySet) |
Binds to an existing calendar folder and loads the specified set of properties. Calling this method results in a call to Exchange Web Services (EWS). |
Bind(ExchangeService, FolderId)
Binds to an existing calendar folder and loads its first class properties. Calling this method results in a call to Exchange Web Services (EWS).
public:
static Microsoft::Exchange::WebServices::Data::CalendarFolder ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::FolderId ^ id);
public static Microsoft.Exchange.WebServices.Data.CalendarFolder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.FolderId id);
Public Shared Function Bind (service As ExchangeService, id As FolderId) As CalendarFolder
Parameters
- service
- ExchangeService
The service to use to bind to the calendar folder.
- id
- FolderId
The ID of the calendar folder to bind to.
Returns
An instance of the CalendarFolder class that represents the calendar folder that corresponds to the specified ID.
Applies to
Bind(ExchangeService, WellKnownFolderName)
Binds to an existing calendar folder and loads its first class properties. Calling this method results in a call to Exchange Web Services (EWS).
public:
static Microsoft::Exchange::WebServices::Data::CalendarFolder ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::WellKnownFolderName name);
public static Microsoft.Exchange.WebServices.Data.CalendarFolder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.WellKnownFolderName name);
Public Shared Function Bind (service As ExchangeService, name As WellKnownFolderName) As CalendarFolder
Parameters
- service
- ExchangeService
The service to use to bind to the calendar folder.
- name
- WellKnownFolderName
The name of the calendar folder to bind to.
Returns
An instance of the CalendarFolder class that represents the calendar folder with the specified name.
Applies to
Bind(ExchangeService, FolderId, PropertySet)
Binds to an existing calendar folder and loads the specified set of properties. Calling this method results in a call to Exchange Web Services (EWS).
public:
static Microsoft::Exchange::WebServices::Data::CalendarFolder ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::FolderId ^ id, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet);
public static Microsoft.Exchange.WebServices.Data.CalendarFolder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.FolderId id, Microsoft.Exchange.WebServices.Data.PropertySet propertySet);
Parameters
- service
- ExchangeService
The service to use to bind to the calendar folder.
- id
- FolderId
The ID of the calendar folder to bind to.
- propertySet
- PropertySet
The set of properties to load.
Returns
A CalendarFolder instance that represents the calendar folder that corresponds to the specified ID.
Applies to
Bind(ExchangeService, WellKnownFolderName, PropertySet)
Binds to an existing calendar folder and loads the specified set of properties. Calling this method results in a call to Exchange Web Services (EWS).
public:
static Microsoft::Exchange::WebServices::Data::CalendarFolder ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::WellKnownFolderName name, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet);
public static Microsoft.Exchange.WebServices.Data.CalendarFolder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.WellKnownFolderName name, Microsoft.Exchange.WebServices.Data.PropertySet propertySet);
Parameters
- service
- ExchangeService
The service to use to bind to the calendar folder.
- name
- WellKnownFolderName
The name of the calendar folder to bind to.
- propertySet
- PropertySet
The set of properties to load.
Returns
An instance of the CalendarFolder class that represents the calendar folder with the specified name.