PermissionSet.GetEnumerator 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.
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.