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

Namespace: System.Collections.ObjectModel
Assembly: Elysium (in Elysium.dll) Version: 2.0.976.4 (2.0.976.4)

Syntax

C#
public virtual void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)
Visual Basic
Public Overridable Sub GetObjectData ( 
	info As SerializationInfo,
	context As StreamingContext
)

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..::..SecurityExceptionThe caller does not have the required permission.

See Also