Populates a SerializationInfo with the data needed to serialize the target object.
| C# | Visual Basic | Visual C++ |
public void GetObjectData( SerializationInfo info, StreamingContext context )
Public Sub GetObjectData ( _ info As SerializationInfo, _ context As StreamingContext _ )
public: virtual void GetObjectData( SerializationInfo^ info, StreamingContext context ) sealed
- info (SerializationInfo)
- The SerializationInfo to populate with data.
- context (StreamingContext)
- The destination (see StreamingContext) for this serialization.
| Exception | Condition |
|---|---|
| SecurityException |
The caller does not have the required permission.
|
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)