System.RuntimeFieldHandle.GetObjectData Method

Populates a System.Runtime.Serialization.SerializationInfo with the data necessary to deserialize the field represented by the current instance.

Syntax

public void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)

Parameters

info
The System.Runtime.Serialization.SerializationInfo object to populate with serialization information.
context
(Reserved) The place to store and retrieve serialized data.

Remarks

The context parameter is reserved; it does not currently participate in this operation.

For more information, see the System.Runtime.Serialization.SerializationInfo.AddValue(string, object, Type) method.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0