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
serviceExchangeServiceThe 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
serviceExchangeServiceThe service to use to bind to the contacts folder.
idFolderIdThe 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
serviceExchangeServiceThe service to use to bind to the contacts folder.
idFolderIdThe Id of the contacts folder to bind to.
propertySetPropertySetThe 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
serviceExchangeServiceThe service to use to bind to the contacts folder.
nameWellKnownFolderNameThe 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
serviceExchangeServiceThe service to use to bind to the contacts folder.
nameWellKnownFolderNameThe name of the contacts folder to bind to.
propertySetPropertySetThe set of properties to load.
Returns
- ContactsFolder
 A ContactsFolder instance representing the contacts folder with the specified name.