CharEnumerator::IEnumerator::Current Property

 

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

private:
property Object^ Current {
	virtual Object^ get() sealed = IEnumerator::Current::get;
}

Property Value

Type: System::Object^

The boxed Unicode character currently referenced by this CharEnumerator object.

Exception Condition
InvalidOperationException

Enumeration has not started.

-or-

Enumeration has ended.

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

.NET Framework
Available since 1.1
Return to top
Show: