TechNet
Export (0) Print
Expand All

OwnerDrawPropertyBag.ISerializable.GetObjectData Method (SerializationInfo, StreamingContext)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.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 for this serialization.

SecurityPermission

for providing serialization services. Associated enumeration: SerializationFormatter.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft