Image.ISerializable.GetObjectData Method (SerializationInfo, StreamingContext)

 

Populates a SerializationInfo with the data needed to serialize the target object.

Namespace:   System.Drawing
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
Return to top
Show: