DataSet.InferXmlSchema DataSet.InferXmlSchema DataSet.InferXmlSchema DataSet.InferXmlSchema Method

Definition

Applies XML schema to the DataSet.

Overloads

InferXmlSchema(Stream, String[]) InferXmlSchema(Stream, String[]) InferXmlSchema(Stream, String[])

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

InferXmlSchema(TextReader, String[]) InferXmlSchema(TextReader, String[]) InferXmlSchema(TextReader, String[]) InferXmlSchema(TextReader, String[])

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

InferXmlSchema(String, String[]) InferXmlSchema(String, String[]) InferXmlSchema(String, String[]) InferXmlSchema(String, String[])

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

InferXmlSchema(XmlReader, String[]) InferXmlSchema(XmlReader, String[]) InferXmlSchema(XmlReader, String[]) InferXmlSchema(XmlReader, String[])

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

InferXmlSchema(Stream, String[]) InferXmlSchema(Stream, String[]) InferXmlSchema(Stream, String[])

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);
member this.InferXmlSchema : System.IO.Stream * string[] -> unit

Parameters

stream
Stream Stream 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

InferXmlSchema(TextReader, String[]) InferXmlSchema(TextReader, String[]) InferXmlSchema(TextReader, String[]) InferXmlSchema(TextReader, String[])

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);
member this.InferXmlSchema : System.IO.TextReader * string[] -> unit
Public Sub InferXmlSchema (reader As TextReader, nsArray As String())

Parameters

reader
TextReader TextReader TextReader 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

InferXmlSchema(String, String[]) InferXmlSchema(String, String[]) InferXmlSchema(String, String[]) InferXmlSchema(String, String[])

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);
member this.InferXmlSchema : string * string[] -> unit
Public Sub InferXmlSchema (fileName As String, nsArray As String())

Parameters

fileName
String String String 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

Security

FileIOPermission
For reading and writing files. Associated enumeration: FileIOPermissionAccess.

See also

InferXmlSchema(XmlReader, String[]) InferXmlSchema(XmlReader, String[]) InferXmlSchema(XmlReader, String[]) InferXmlSchema(XmlReader, String[])

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);
member this.InferXmlSchema : System.Xml.XmlReader * string[] -> unit
Public Sub InferXmlSchema (reader As XmlReader, nsArray As String())

Parameters

reader
XmlReader XmlReader XmlReader 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