CancellableEnumerable.GetCancellableEnumerator 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
Dim instance As CancellableEnumerable(Of T)
Dim returnValue As ICancellableEnumerator(Of T)

returnValue = instance.GetCancellableEnumerator

public ICancellableEnumerator<T> GetCancellableEnumerator ()
public ICancellableEnumerator<T> GetCancellableEnumerator ()
public function GetCancellableEnumerator () : ICancellableEnumerator<T>

Return Value

Returns ICancellableEnumerator.

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

 

Target Platforms


Show: