MessageEnumerator.IEnumerator.Current MessageEnumerator.IEnumerator.Current MessageEnumerator.IEnumerator.Current Property

Definition

Returns a Message that references the message at the current cursor position.

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

Property Value

A Message that references the message at the current cursor position.

Implements

Exceptions

You accessed this property before the first call to MoveNext(). The cursor is located before the first element of the message enumeration.-or- You accessed this property after a call to MoveNext() had returned false (indicating the cursor is located after the last element of the message enumeration.)

The message the enumerator is currently pointing to no longer exists. It might have been deleted.

Applies to