Edit

Share via


FolderPermissionCollection Class

Definition

Represents a collection of folder permissions.

public ref class FolderPermissionCollection sealed : Microsoft::Exchange::WebServices::Data::ComplexPropertyCollection<Microsoft::Exchange::WebServices::Data::FolderPermission ^>
public sealed class FolderPermissionCollection : Microsoft.Exchange.WebServices.Data.ComplexPropertyCollection<Microsoft.Exchange.WebServices.Data.FolderPermission>
Public NotInheritable Class FolderPermissionCollection
Inherits ComplexPropertyCollection(Of FolderPermission)
Inheritance

Remarks

When targeting Exchange Online, Exchange Online as part of Office 365, and on-premises versions of Exchange starting with Exchange 2013, folder permissions are not returned in the FirstClassProperties property set. In order to retrieve folder permissions, add the Permissions property to the property set when binding to the folder.

Properties

Count

Gets the total number of properties in the collection.

(Inherited from ComplexPropertyCollection<TComplexProperty>)
Item[Int32]

Gets the property at the specified index.

(Inherited from ComplexPropertyCollection<TComplexProperty>)
UnknownEntries

Gets a list of unknown user IDs in the collection.

Methods

Add(FolderPermission)

Adds a permission to the collection.

AddRange(IEnumerable<FolderPermission>)

Adds the specified permissions to the collection.

Clear()

Clears this collection.

Contains(TComplexProperty)

Determines whether a specific property is in the collection.

(Inherited from ComplexPropertyCollection<TComplexProperty>)
GetEnumerator()

Gets an enumerator that iterates through the elements of the collection.

(Inherited from ComplexPropertyCollection<TComplexProperty>)
IndexOf(TComplexProperty)

Searches for a specific property and return its zero-based index within the collection.

(Inherited from ComplexPropertyCollection<TComplexProperty>)
Remove(FolderPermission)

Removes a permission from the collection.

RemoveAt(Int32)

Removes a permission from the collection.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Gets an enumerator that iterates through the elements of the collection. The IEnumerable.GetEnumerator() method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

(Inherited from ComplexPropertyCollection<TComplexProperty>)

Applies to