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