Populates a SerializationInfo object with the data needed to serialize the target object.
Syntax
Visual Basic (Declaration) | |
---|
Public Sub GetObjectData( _
ByVal info As System.Runtime.Serialization.SerializationInfo, _
ByVal context As System.Runtime.Serialization.StreamingContext _
) |
C# | |
---|
public void GetObjectData(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context
) |
Parameters
- info
- The SerializationInfo to populate with data.
- context
- The destination for the serialization.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also