DataSet.DetermineSchemaSerializationMode Method

Definition

Determines the SchemaSerializationMode for a DataSet.

Overloads

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);

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

.NET 9 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

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);

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

.NET 9 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1