FolderPermissionCollection FolderPermissionCollection 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 Count Count

Gets the total number of properties in the collection.

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

Gets the property at the specified index.

(Inherited from ComplexPropertyCollection<TComplexProperty>)
UnknownEntries UnknownEntries UnknownEntries

Gets a list of unknown user IDs in the collection.

Methods

Add(FolderPermission) Add(FolderPermission) Add(FolderPermission)

Adds a permission to the collection.

AddRange(IEnumerable<FolderPermission>) AddRange(IEnumerable<FolderPermission>) AddRange(IEnumerable<FolderPermission>)

Adds the specified permissions to the collection.

Clear() Clear() Clear()

Clears this collection.

Contains(TComplexProperty) Contains(TComplexProperty) Contains(TComplexProperty)

Determines whether a specific property is in the collection.

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

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

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

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

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

Removes a permission from the collection.

RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

Removes a permission from the collection.

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() 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