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

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)
Visual Basic
Public 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