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

Namespace: Dapfor.Net.Ui
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)
Visual Basic
Public Sub GetObjectData ( 
	info As SerializationInfo,
	context As StreamingContext
)
Visual C++
public:
virtual void GetObjectData(
	SerializationInfo^ info, 
	StreamingContext context
) sealed
F#
abstract GetObjectData : 
        info : SerializationInfo * 
        context : StreamingContext -> unit 
override GetObjectData : 
        info : SerializationInfo * 
        context : StreamingContext -> unit 

Parameters

info
Type: System.Runtime.Serialization..::..SerializationInfo
The SerializationInfo to populate with data.
context
Type: System.Runtime.Serialization..::..StreamingContext
The destination (see StreamingContext) for this serialization.

Implements

ISerializable..::..GetObjectData(SerializationInfo, StreamingContext)

Exceptions

ExceptionCondition
System.Security..::..SecurityException The caller does not have the required permission.

See Also