DataSet.DetermineSchemaSerializationMode 方法

定义

重载

DetermineSchemaSerializationMode(XmlReader)

确定 SchemaSerializationModeDataSet

DetermineSchemaSerializationMode(SerializationInfo, StreamingContext)

确定 SchemaSerializationModeDataSet

注解

在反序列化类型 DataSet 化以确定其 SchemaSerializationMode时,可以调用此方法。

DetermineSchemaSerializationMode(XmlReader)

Source:
DataSet.cs
Source:
DataSet.cs
Source:
DataSet.cs
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 实例。

返回

一个 SchemaSerializationMode 枚举,指示是否已从负载中忽略架构信息。

注解

在反序列化类型 DataSet 化以确定其 SchemaSerializationMode时,可以调用此方法。

另请参阅

适用于

DetermineSchemaSerializationMode(SerializationInfo, StreamingContext)

Source:
DataSet.cs
Source:
DataSet.cs
Source:
DataSet.cs
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)

context
StreamingContext

StreamingContext,在远程处理方案中进行反序列化期间将使用它调用 DataSet 的受保护构造函数 DataSet(SerializationInfo, StreamingContext)

返回

一个 SchemaSerializationMode 枚举,指示是否已从负载中忽略架构信息。

注解

在反序列化类型 DataSet 化以确定其 SchemaSerializationMode时,可以调用此方法。

另请参阅

适用于