Populates a SerializationInfo with the data needed to serialize the target object.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public override void GetObjectData( SerializationInfo info, StreamingContext context )
Public Overrides Sub GetObjectData ( _ info As SerializationInfo, _ context As StreamingContext _ )
public: virtual void GetObjectData( SerializationInfo^ info, StreamingContext context ) override
Parameters
- info (SerializationInfo)
- The SerializationInfo to populate with data.
- context (StreamingContext)
- The destination StreamingContext for this serialization.