SerializationInfo.GetEnumerator Method
Definition
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 SerializationInfoEnumerator used to iterate through the name-value pairs in the SerializationInfo store.
public:
System::Runtime::Serialization::SerializationInfoEnumerator ^ GetEnumerator();
public System.Runtime.Serialization.SerializationInfoEnumerator GetEnumerator ();
member this.GetEnumerator : unit -> System.Runtime.Serialization.SerializationInfoEnumerator
Public Function GetEnumerator () As SerializationInfoEnumerator
Returns
A SerializationInfoEnumerator for parsing the name-value pairs contained in the SerializationInfo store.
Remarks
This function will most often be used by formatters that need to enumerate through the values before writing them out to the stream.