MessageEnumerator.IEnumerator.Current Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A Message that references the message at the current cursor position.
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.
This member is an explicit interface member implementation. It can be used only when the MessageEnumerator instance is cast to an IEnumerator interface.
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: