Redigera

Dela via


DataSet.DetermineSchemaSerializationMode Method

Definition

Determines the SchemaSerializationMode for a DataSet.

Overloads

DetermineSchemaSerializationMode(XmlReader)

Determines the SchemaSerializationMode for a DataSet.

DetermineSchemaSerializationMode(SerializationInfo, StreamingContext)

Determines the SchemaSerializationMode for a DataSet.

Remarks

This method can be called when deserializing a typed DataSet to determine its SchemaSerializationMode.

DetermineSchemaSerializationMode(XmlReader)

Source:
DataSet.cs
Source:
DataSet.cs
Source:
DataSet.cs

Determines 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

Parameters

reader
XmlReader

The XmlReader instance that is passed during deserialization of the DataSet.

Returns

An SchemaSerializationMode enumeration indicating whether schema information has been omitted from the payload.

Remarks

This method can be called when deserializing a typed DataSet to determine its SchemaSerializationMode.

See also

Applies to

DetermineSchemaSerializationMode(SerializationInfo, StreamingContext)

Source:
DataSet.cs
Source:
DataSet.cs
Source:
DataSet.cs

Determines 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

Parameters

info
SerializationInfo

The SerializationInfo that a DataSet's protected constructor DataSet(SerializationInfo, StreamingContext) is invoked with during deserialization in remoting scenarios.

context
StreamingContext

The StreamingContext that a DataSet's protected constructor DataSet(SerializationInfo, StreamingContext) is invoked with during deserialization in remoting scenarios.

Returns

An SchemaSerializationMode enumeration indicating whether schema information has been omitted from the payload.

Remarks

This method can be called when deserializing a typed DataSet to determine its SchemaSerializationMode.

See also

Applies to