GetEnumerator Method

SerializationInfo.GetEnumerator Method ()


Returns a SerializationInfoEnumerator used to iterate through the name-value pairs in the SerializationInfo store.

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

member GetEnumerator : unit -> SerializationInfoEnumerator

Return Value

Type: System.Runtime.Serialization.SerializationInfoEnumerator

A SerializationInfoEnumerator for parsing the name-value pairs contained in the SerializationInfo store.

This function will most often be used by formatters that need to enumerate through the values before writing them out to the stream.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft