Edit

Share via


PermissionSet.GetEnumerator Method

Definition

Returns an enumerator for the permissions of the set.

public:
 virtual System::Collections::IEnumerator ^ GetEnumerator();
public System.Collections.IEnumerator GetEnumerator();
public virtual System.Collections.IEnumerator GetEnumerator();
abstract member GetEnumerator : unit -> System.Collections.IEnumerator
override this.GetEnumerator : unit -> System.Collections.IEnumerator
Public Function GetEnumerator () As IEnumerator
Public Overridable Function GetEnumerator () As IEnumerator

Returns

An enumerator object for the permissions of the set.

Implements

Remarks

Use the enumerator as an index to access individual permission objects in the set.

Notes to Inheritors

When you inherit from PermissionSet, you can change the behavior of the GetEnumerator() method by overriding the GetEnumeratorImpl() method.

Applies to