Επεξεργασία

Κοινή χρήση μέσω


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; }
member this.System.Collections.IEnumerator.Current : obj
 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.

Remarks

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

Applies to