BindWithWellKnownFolderAndProperySet static method

Future<Folder> BindWithWellKnownFolderAndProperySet(
  1. ExchangeService service,
  2. WellKnownFolderName name,
  3. PropertySet propertySet
)
Binds to an existing folder, whatever its actual type is, and loads the specified set of properties. Calling this method results in a call to EWS. The service to use to bind to the folder. The name of the folder to bind to. The set of properties to load.

Implementation

static Future<Folder> BindWithWellKnownFolderAndProperySet(
    ExchangeService service,
    enumerations.WellKnownFolderName name,
    PropertySet propertySet) {
  return Folder.BindWithPropertySet(
      service, new FolderId.fromWellKnownFolder(name), propertySet);
}