Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft