Export (0) Print
Expand All

SerializationInfo.GetEnumerator Method

Returns a SerializationInfoEnumerator used to iterate through the name-value pairs in the SerializationInfo.

[Visual Basic]
Public Function GetEnumerator() As SerializationInfoEnumerator
[C#]
public SerializationInfoEnumerator GetEnumerator();
[C++]
public: SerializationInfoEnumerator* GetEnumerator();
[JScript]
public function GetEnumerator() : SerializationInfoEnumerator;

Return Value

A SerializationInfoEnumerator for parsing the name-value pairs in this SerializationInfo.

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SerializationInfo Class | SerializationInfo Members | System.Runtime.Serialization Namespace

Show:
© 2014 Microsoft