Bewerken

Share via


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

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.

Applies to