DynamicPowershellResult.GetEnumerator Method

This element is introduced in Windows PowerShell 5.0.

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

Usage

'Usage
Dim instance As DynamicPowershellResult
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator

Syntax

'Declaration
Private Function System.Collections.IEnumerable.GetEnumerator As IEnumerator Implements IEnumerable.GetEnumerator
IEnumerator IEnumerable.GetEnumerator ()
private:
virtual IEnumerator^ System.Collections.IEnumerable.GetEnumerator () sealed = IEnumerable::GetEnumerator

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

DynamicPowershellResult Class
DynamicPowershellResult Members
Microsoft.OneGet.Utility.PowerShell Namespace