SerializationInfo.GetEnumerator SerializationInfo.GetEnumerator SerializationInfo.GetEnumerator SerializationInfo.GetEnumerator Method

Definition

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

Remarks

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

Applies to