VirtualEnumerator.Current Property

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 VirtualEnumerator(Of T)
Dim value As Object

value = CType(instance, IEnumerator).Current

Syntax

'Declaration
Private ReadOnly Property System.Collections.IEnumerator.Current As Object Implements IEnumerator.Current
Object IEnumerator.Current { get; }
private:
virtual property Object^ System.Collections.IEnumerator.Current {
    Object^ get () sealed = IEnumerator::Current::get;
}

Property Value

Returns Object.

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

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