SerializationInfo.GetEnumerator Method (System.Runtime.Serialization) (original) (raw)

Skip to main contentSkip to in-page navigation

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

SerializationInfo.GetEnumerator Method

Definition

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

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.

Additional resources

In this article