Image.ISerializable.GetObjectData Method (SerializationInfo, StreamingContext)
.NET Framework (current version)
Populates a SerializationInfo with the data needed to serialize the target object.
Assembly: System.Drawing (in System.Drawing.dll)
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
void ISerializable.GetObjectData(
SerializationInfo si,
StreamingContext context
)
Parameters
- si
-
Type:
System.Runtime.Serialization.SerializationInfo
The SerializationInfo to populate with data.
- context
-
Type:
System.Runtime.Serialization.StreamingContext
The destination (see StreamingContext) for this serialization.
.NET Framework
Available since 1.1
Available since 1.1
Show: