CancellableEnumerable.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 CancellableEnumerable(Of T)
Dim returnValue As IEnumerator(Of T)
returnValue = instance.GetEnumerator
Syntax
'Declaration
Public Overrides Function GetEnumerator As IEnumerator(Of T)
public override IEnumerator<T> GetEnumerator ()
public:
virtual IEnumerator<T>^ GetEnumerator () override
public IEnumerator<T> GetEnumerator ()
public override function GetEnumerator () : IEnumerator<T>
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
CancellableEnumerable Generic Class
CancellableEnumerable Members
Microsoft.OneGet.Utility.Collections Namespace