Επεξεργασία

Κοινή χρήση μέσω


DataSet.InferXmlSchema Method

Definition

Applies XML schema to the DataSet.

Overloads

InferXmlSchema(Stream, String[])

Applies the XML schema from the specified Stream to the DataSet.

InferXmlSchema(TextReader, String[])

Applies the XML schema from the specified TextReader to the DataSet.

InferXmlSchema(String, String[])

Applies the XML schema from the specified file to the DataSet.

InferXmlSchema(XmlReader, String[])

Applies the XML schema from the specified XmlReader to the DataSet.

InferXmlSchema(Stream, String[])

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

Applies the XML schema from the specified Stream to the DataSet.

public:
 void InferXmlSchema(System::IO::Stream ^ stream, cli::array <System::String ^> ^ nsArray);
public void InferXmlSchema (System.IO.Stream? stream, string[]? nsArray);
public void InferXmlSchema (System.IO.Stream stream, string[] nsArray);
member this.InferXmlSchema : System.IO.Stream * string[] -> unit
Public Sub InferXmlSchema (stream As Stream, nsArray As String())

Parameters

stream
Stream

The Stream from which to read the schema.

nsArray
String[]

An array of namespace Uniform Resource Identifier (URI) strings to be excluded from schema inference.

See also

Applies to

InferXmlSchema(TextReader, String[])

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

Applies the XML schema from the specified TextReader to the DataSet.

public:
 void InferXmlSchema(System::IO::TextReader ^ reader, cli::array <System::String ^> ^ nsArray);
public void InferXmlSchema (System.IO.TextReader? reader, string[]? nsArray);
public void InferXmlSchema (System.IO.TextReader reader, string[] nsArray);
member this.InferXmlSchema : System.IO.TextReader * string[] -> unit
Public Sub InferXmlSchema (reader As TextReader, nsArray As String())

Parameters

reader
TextReader

The TextReader from which to read the schema.

nsArray
String[]

An array of namespace Uniform Resource Identifier (URI) strings to be excluded from schema inference.

See also

Applies to

InferXmlSchema(String, String[])

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

Applies the XML schema from the specified file to the DataSet.

public:
 void InferXmlSchema(System::String ^ fileName, cli::array <System::String ^> ^ nsArray);
public void InferXmlSchema (string fileName, string[]? nsArray);
public void InferXmlSchema (string fileName, string[] nsArray);
member this.InferXmlSchema : string * string[] -> unit
Public Sub InferXmlSchema (fileName As String, nsArray As String())

Parameters

fileName
String

The name of the file (including the path) from which to read the schema.

nsArray
String[]

An array of namespace Uniform Resource Identifier (URI) strings to be excluded from schema inference.

Exceptions

See also

Applies to

InferXmlSchema(XmlReader, String[])

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

Applies the XML schema from the specified XmlReader to the DataSet.

public:
 void InferXmlSchema(System::Xml::XmlReader ^ reader, cli::array <System::String ^> ^ nsArray);
public void InferXmlSchema (System.Xml.XmlReader? reader, string[]? nsArray);
public void InferXmlSchema (System.Xml.XmlReader reader, string[] nsArray);
member this.InferXmlSchema : System.Xml.XmlReader * string[] -> unit
Public Sub InferXmlSchema (reader As XmlReader, nsArray As String())

Parameters

reader
XmlReader

The XMLReader from which to read the schema.

nsArray
String[]

An array of namespace Uniform Resource Identifier (URI) strings to be excluded from schema inference.

See also

Applies to