BindWithWellKnownFolder static method

Future<ContactsFolder> BindWithWellKnownFolder(
  1. ExchangeService service,
  2. WellKnownFolderName name
)
override
Binds to an existing contacts folder and loads its first class properties. The service to use to bind to the contacts folder. The name of the contacts folder to bind to.

Implementation

static Future<ContactsFolder> BindWithWellKnownFolder(
    ExchangeService service, WellKnownFolderName name) {
  return ContactsFolder.BindWithFolderIdAndPropertySet(
      service,
      new FolderId.fromWellKnownFolder(name),
      PropertySet.FirstClassProperties);
}