BindWithPropertySet static method

Future<Folder> BindWithPropertySet(
  1. ExchangeService service,
  2. FolderId id,
  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 Id of the folder to bind to. The set of properties to load.

Implementation

static Future<Folder> BindWithPropertySet(
    ExchangeService service, FolderId id, PropertySet propertySet) async {
  return await service.BindToFolderGeneric<Folder>(id, propertySet);
}