FolderIdCollection.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Remove(FolderId) |
Removes the specified folder ID from the collection. |
Remove(WellKnownFolderName) |
Removes the specified well-known folder from the collection. |
Remove(FolderId)
Removes the specified folder ID from the collection.
public:
bool Remove(Microsoft::Exchange::WebServices::Data::FolderId ^ folderId);
public bool Remove (Microsoft.Exchange.WebServices.Data.FolderId folderId);
Parameters
- folderId
- FolderId
The folder ID to remove from the collection.
Returns
true if the folder ID was successfully removed from the collection; otherwise, false.
Applies to
Remove(WellKnownFolderName)
Removes the specified well-known folder from the collection.
public:
bool Remove(Microsoft::Exchange::WebServices::Data::WellKnownFolderName folderName);
public bool Remove (Microsoft.Exchange.WebServices.Data.WellKnownFolderName folderName);
Public Function Remove (folderName As WellKnownFolderName) As Boolean
Parameters
- folderName
- WellKnownFolderName
The well-known folder to remove from the collection.
Returns
true if the well-known folder was successfully removed from the collection; otherwise, false.