DataSet.DetermineSchemaSerializationMode 方法

定义

确定 SchemaSerializationModeDataSetDetermines the SchemaSerializationMode for a DataSet.

重载

DetermineSchemaSerializationMode(XmlReader)

确定 SchemaSerializationModeDataSetDetermines the SchemaSerializationMode for a DataSet.

DetermineSchemaSerializationMode(SerializationInfo, StreamingContext)

确定 SchemaSerializationModeDataSetDetermines the SchemaSerializationMode for a DataSet.

注解

在反序列化类型时,可以调用此方法 DataSet 以确定其 SchemaSerializationModeThis method can be called when deserializing a typed DataSet to determine its SchemaSerializationMode.

DetermineSchemaSerializationMode(XmlReader)

确定 SchemaSerializationModeDataSetDetermines the SchemaSerializationMode for a DataSet.

protected:
 System::Data::SchemaSerializationMode DetermineSchemaSerializationMode(System::Xml::XmlReader ^ reader);
protected System.Data.SchemaSerializationMode DetermineSchemaSerializationMode (System.Xml.XmlReader reader);
member this.DetermineSchemaSerializationMode : System.Xml.XmlReader -> System.Data.SchemaSerializationMode
Protected Function DetermineSchemaSerializationMode (reader As XmlReader) As SchemaSerializationMode

参数

reader
XmlReader

在对 XmlReader 进行反序列化期间传递的 DataSet 实例。The XmlReader instance that is passed during deserialization of the DataSet.

返回

SchemaSerializationMode

一个 SchemaSerializationMode 枚举,指示是否已从负载中忽略架构信息。An SchemaSerializationMode enumeration indicating whether schema information has been omitted from the payload.

注解

在反序列化类型时,可以调用此方法 DataSet 以确定其 SchemaSerializationModeThis method can be called when deserializing a typed DataSet to determine its SchemaSerializationMode.

另请参阅

适用于

DetermineSchemaSerializationMode(SerializationInfo, StreamingContext)

确定 SchemaSerializationModeDataSetDetermines the SchemaSerializationMode for a DataSet.

protected:
 System::Data::SchemaSerializationMode DetermineSchemaSerializationMode(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected System.Data.SchemaSerializationMode DetermineSchemaSerializationMode (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
member this.DetermineSchemaSerializationMode : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.SchemaSerializationMode
Protected Function DetermineSchemaSerializationMode (info As SerializationInfo, context As StreamingContext) As SchemaSerializationMode

参数

info
SerializationInfo

SerializationInfo,在远程处理方案中进行反序列化期间将使用它调用 DataSet 的受保护构造函数 DataSet(SerializationInfo, StreamingContext)The SerializationInfo that a DataSet's protected constructor DataSet(SerializationInfo, StreamingContext) is invoked with during deserialization in remoting scenarios.

context
StreamingContext

StreamingContext,在远程处理方案中进行反序列化期间将使用它调用 DataSet 的受保护构造函数 DataSet(SerializationInfo, StreamingContext)The StreamingContext that a DataSet's protected constructor DataSet(SerializationInfo, StreamingContext) is invoked with during deserialization in remoting scenarios.

返回

SchemaSerializationMode

一个 SchemaSerializationMode 枚举,指示是否已从负载中忽略架构信息。An SchemaSerializationMode enumeration indicating whether schema information has been omitted from the payload.

注解

在反序列化类型时,可以调用此方法 DataSet 以确定其 SchemaSerializationModeThis method can be called when deserializing a typed DataSet to determine its SchemaSerializationMode.

另请参阅

适用于