System.DBNull.GetObjectData Method

Implements the System.Runtime.Serialization.ISerializable interface and returns the data needed to serialize the DBNull object.

Syntax

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

Parameters

info
A System.Runtime.Serialization.SerializationInfo object containing information required to serialize the DBNull object.
context
A System.Runtime.Serialization.StreamingContext object containing the source and destination of the serialized stream associated with the DBNull object.

Remarks

Documentation for this section has not yet been entered.

Requirements

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