BindWithWellKnownFolderAndPropertySet static method

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

Implementation

static Future<SearchFolder> BindWithWellKnownFolderAndPropertySet(
    ExchangeService service,
    WellKnownFolderName name,
    PropertySet propertySet) {
  return SearchFolder.BindWithFolderIdAndPropertySet(
      service, new FolderId.fromWellKnownFolder(name), propertySet);
}