SerializationInfoEnumerator Class
.NET Framework 3.0
Provides a formatter-friendly mechanism for parsing the data in SerializationInfo. This class cannot be inherited.
Namespace: System.Runtime.Serialization
Assembly: mscorlib (in mscorlib.dll)
Assembly: mscorlib (in mscorlib.dll)
'Declaration <ComVisibleAttribute(True)> _ Public NotInheritable Class SerializationInfoEnumerator Implements IEnumerator 'Usage Dim instance As SerializationInfoEnumerator
/** @attribute ComVisibleAttribute(true) */ public final class SerializationInfoEnumerator implements IEnumerator
ComVisibleAttribute(true) public final class SerializationInfoEnumerator implements IEnumerator
Not applicable.
The current class is a standard enumerator that parses over the values stored in SerializationInfo. Instead of recording the values, the SerializationInfoEnumerator keeps pointers to the member variables of the SerializationInfo that created it.
This class follows the IEnumerator mechanism.
The following code example shows how to use the FormatterServices class in order to properly serialize or deserialize an object where the base class does not implement ISerializable but the derived class does.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: