Share via


ByRefEnumerable.GetEnumerator Method

This element is introduced in Windows PowerShell 5.0.

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

Usage

'Usage
Dim instance As ByRefEnumerable
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator

Syntax

'Declaration
Public Overridable Function GetEnumerator As IEnumerator
public virtual IEnumerator GetEnumerator ()
public:
virtual IEnumerator^ GetEnumerator ()
public IEnumerator GetEnumerator ()
public function GetEnumerator () : IEnumerator

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

ByRefEnumerable Class
ByRefEnumerable Members
Microsoft.OneGet.Utility.Collections Namespace