Class ContactsFolder
- Namespace
- Microsoft.Exchange.WebServices.Data
- Assembly
- Microsoft.Exchange.WebServices.dll
Represents a folder containing contacts.
public class ContactsFolder : Folder
- Inheritance
-
ContactsFolder
- Inherited Members
Constructors
ContactsFolder(ExchangeService)
Initializes an unsaved local instance of ContactsFolder. To bind to an existing contacts folder, use ContactsFolder.Bind() instead.
public ContactsFolder(ExchangeService service)
Parameters
service
ExchangeServiceThe ExchangeService object to which the contacts folder will be bound.
Methods
Bind(ExchangeService, FolderId)
Binds to an existing contacts folder and loads its first class properties.
public static ContactsFolder Bind(ExchangeService service, FolderId id)
Parameters
service
ExchangeServiceThe service to use to bind to the contacts folder.
id
FolderIdThe Id of the contacts folder to bind to.
Returns
- ContactsFolder
A ContactsFolder instance representing the contacts folder corresponding to the specified Id.
Bind(ExchangeService, FolderId, PropertySet)
Binds to an existing contacts folder and loads the specified set of properties.
public static ContactsFolder Bind(ExchangeService service, FolderId id, PropertySet propertySet)
Parameters
service
ExchangeServiceThe service to use to bind to the contacts folder.
id
FolderIdThe Id of the contacts folder to bind to.
propertySet
PropertySetThe set of properties to load.
Returns
- ContactsFolder
A ContactsFolder instance representing the contacts folder corresponding to the specified Id.
Bind(ExchangeService, WellKnownFolderName)
Binds to an existing contacts folder and loads its first class properties.
public static ContactsFolder Bind(ExchangeService service, WellKnownFolderName name)
Parameters
service
ExchangeServiceThe service to use to bind to the contacts folder.
name
WellKnownFolderNameThe name of the contacts folder to bind to.
Returns
- ContactsFolder
A ContactsFolder instance representing the contacts folder with the specified name.
Bind(ExchangeService, WellKnownFolderName, PropertySet)
Binds to an existing contacts folder and loads the specified set of properties.
public static ContactsFolder Bind(ExchangeService service, WellKnownFolderName name, PropertySet propertySet)
Parameters
service
ExchangeServiceThe service to use to bind to the contacts folder.
name
WellKnownFolderNameThe name of the contacts folder to bind to.
propertySet
PropertySetThe set of properties to load.
Returns
- ContactsFolder
A ContactsFolder instance representing the contacts folder with the specified name.