MsgPack.MessagePackObjectDictionary.KeySet.Enumerator Struct Reference

Enumerates the elements of a MessagePackObjectDictionary.KeySet. More...

Inherits IEnumerator< MessagePackObject >.

Public Member Functions

void Dispose ()
 Releases all resources used by the this instance. More...
 
bool MoveNext ()
 Advances the enumerator to the next element of the underlying collection. More...
 
void IEnumerator. Reset ()
 Sets the enumerator to its initial position, which is before the first element in the collection. More...
 

Properties

MessagePackObject Current [get]
 Gets the element at the current position of the enumerator. More...
 
object IEnumerator. Current [get]
 Gets the element at the current position of the enumerator. More...
 

Detailed Description

Enumerates the elements of a MessagePackObjectDictionary.KeySet.

Member Function Documentation

◆ Dispose()

void MsgPack.MessagePackObjectDictionary.KeySet.Enumerator.Dispose ( )

Releases all resources used by the this instance.

◆ MoveNext()

bool MsgPack.MessagePackObjectDictionary.KeySet.Enumerator.MoveNext ( )

Advances the enumerator to the next element of the underlying collection.

Returns
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
Exceptions
T:System.InvalidOperationExceptionThe collection was modified after the enumerator was created.

◆ Reset()

void IEnumerator. MsgPack.MessagePackObjectDictionary.KeySet.Enumerator.Reset ( )

Sets the enumerator to its initial position, which is before the first element in the collection.

Exceptions
T:System.InvalidOperationExceptionThe collection was modified after the enumerator was created.

Property Documentation

◆ Current [1/2]

MessagePackObject MsgPack.MessagePackObjectDictionary.KeySet.Enumerator.Current
get

Gets the element at the current position of the enumerator.

The element in the underlying collection at the current position of the enumerator.

◆ Current [2/2]

object IEnumerator. MsgPack.MessagePackObjectDictionary.KeySet.Enumerator.Current
get

Gets the element at the current position of the enumerator.

The element in the collection at the current position of the enumerator, as an Object.

Exceptions
InvalidOperationExceptionThe enumerator is positioned before the first element of the collection or after the last element.

The documentation for this struct was generated from the following file:
  • MsgPackSources/MessagePackObjectDictionary.KeySet.Enumerator.cs