DataSet.ISerializable.GetObjectData(SerializationInfo, StreamingContext) DataSet.ISerializable.GetObjectData(SerializationInfo, StreamingContext) DataSet.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

定义

使用序列化 DataSet 时所需的数据填充序列化信息对象。Populates a serialization information object with the data needed to serialize the DataSet.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context) = System::Runtime::Serialization::ISerializable::GetObjectData;
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
Sub GetObjectData (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

参数

info
SerializationInfo SerializationInfo SerializationInfo

要填充数据的 SerializationInfoThe SerializationInfo to populate with data.

context
StreamingContext StreamingContext StreamingContext

此序列化的目标(请参见 StreamingContext)。The destination (see StreamingContext) for this serialization.

实现

适用于