Bewerken

Delen via


CharEnumerator.IEnumerator.Current Property

Definition

Gets the currently referenced character in the string enumerated by this CharEnumerator object. For a description of this member, see Current.

property System::Object ^ System::Collections::IEnumerator::Current { System::Object ^ get(); };
object? System.Collections.IEnumerator.Current { get; }
object System.Collections.IEnumerator.Current { get; }
member this.System.Collections.IEnumerator.Current : obj
 ReadOnly Property Current As Object Implements IEnumerator.Current

Property Value

The boxed Unicode character currently referenced by this CharEnumerator object.

Implements

Exceptions

Enumeration has not started.

-or-

Enumeration has ended.

Remarks

This member is an explicit interface member implementation. It can be used only when the CharEnumerator instance is cast to an IEnumerator interface.

Applies to