FolderIdCollection.Remove Method

Definition

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.

Applies to