Share via


DynamicElementEnumerable.GetEnumerator Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Xml
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

Usage

'Usage
Dim instance As DynamicElementEnumerable
Dim returnValue As IEnumerator(Of DynamicElement)

returnValue = instance.GetEnumerator

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of DynamicElement)
public IEnumerator<DynamicElement> GetEnumerator ()
public:
virtual IEnumerator<DynamicElement^>^ GetEnumerator () sealed
public final IEnumerator<DynamicElement> GetEnumerator ()
public final function GetEnumerator () : IEnumerator<DynamicElement>

Return Value

Returns IEnumerator.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

DynamicElementEnumerable Class
DynamicElementEnumerable Members
Microsoft.OneGet.Utility.Xml Namespace