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.
See Also