DataSet.InferXmlSchema Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
FileIOPermission is not set to Read.
See also
Applies to
InferXmlSchema(XmlReader, String[])
- Source:
- DataSet.cs
- Source:
- DataSet.cs
- Source:
- DataSet.cs
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om