Share via


CacheEnumerable.GetEnumerators 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 CacheEnumerable(Of T)
Dim copies As Integer
Dim returnValue As IEnumerable(Of IEnumerator(Of T))

returnValue = instance.GetEnumerators(copies)

Syntax

'Declaration
Public Function GetEnumerators ( _
    copies As Integer _
) As IEnumerable(Of IEnumerator(Of T))
public IEnumerable<IEnumerator<T>> GetEnumerators (
    int copies
)
public:
IEnumerable<IEnumerator<T>^>^ GetEnumerators (
    int copies
)
public IEnumerable<IEnumerator<T>> GetEnumerators (
    int copies
)
public function GetEnumerators (
    copies : int
) : IEnumerable<IEnumerator<T>>

Parameters

  • copies

Return Value

Returns IEnumerable.

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

CacheEnumerable Generic Class
CacheEnumerable Members
Microsoft.OneGet.Utility.Collections Namespace