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
- Source:
- DataSet.cs
public:
void InferXmlSchema(System::IO::Stream ^ stream, cli::array <System::String ^> ^ nsArray);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Members from serialized types may use dynamic code generation.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")]
public void InferXmlSchema(System.IO.Stream? stream, string[]? nsArray);
public void InferXmlSchema(System.IO.Stream? stream, string[]? nsArray);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")]
public void InferXmlSchema(System.IO.Stream? stream, string[]? nsArray);
public void InferXmlSchema(System.IO.Stream stream, string[] nsArray);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Members from serialized types may use dynamic code generation.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")>]
member this.InferXmlSchema : System.IO.Stream * string[] -> unit
member this.InferXmlSchema : System.IO.Stream * string[] -> unit
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")>]
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.
- Attributes
See also
Applies to
InferXmlSchema(TextReader, String[])
- Source:
- DataSet.cs
- 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);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Members from serialized types may use dynamic code generation.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")]
public void InferXmlSchema(System.IO.TextReader? reader, string[]? nsArray);
public void InferXmlSchema(System.IO.TextReader? reader, string[]? nsArray);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")]
public void InferXmlSchema(System.IO.TextReader? reader, string[]? nsArray);
public void InferXmlSchema(System.IO.TextReader reader, string[] nsArray);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Members from serialized types may use dynamic code generation.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")>]
member this.InferXmlSchema : System.IO.TextReader * string[] -> unit
member this.InferXmlSchema : System.IO.TextReader * string[] -> unit
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")>]
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.
- Attributes
See also
Applies to
InferXmlSchema(String, String[])
- Source:
- DataSet.cs
- 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);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Members from serialized types may use dynamic code generation.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")]
public void InferXmlSchema(string fileName, string[]? nsArray);
public void InferXmlSchema(string fileName, string[]? nsArray);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")]
public void InferXmlSchema(string fileName, string[]? nsArray);
public void InferXmlSchema(string fileName, string[] nsArray);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Members from serialized types may use dynamic code generation.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")>]
member this.InferXmlSchema : string * string[] -> unit
member this.InferXmlSchema : string * string[] -> unit
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")>]
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.
- Attributes
Exceptions
FileIOPermission is not set to Read.
See also
Applies to
InferXmlSchema(XmlReader, String[])
- Source:
- DataSet.cs
- Source:
- DataSet.cs
- Source:
- DataSet.cs
- Source:
- DataSet.cs
public:
void InferXmlSchema(System::Xml::XmlReader ^ reader, cli::array <System::String ^> ^ nsArray);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Members from serialized types may use dynamic code generation.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")]
public void InferXmlSchema(System.Xml.XmlReader? reader, string[]? nsArray);
public void InferXmlSchema(System.Xml.XmlReader? reader, string[]? nsArray);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")]
public void InferXmlSchema(System.Xml.XmlReader? reader, string[]? nsArray);
public void InferXmlSchema(System.Xml.XmlReader reader, string[] nsArray);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Members from serialized types may use dynamic code generation.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")>]
member this.InferXmlSchema : System.Xml.XmlReader * string[] -> unit
member this.InferXmlSchema : System.Xml.XmlReader * string[] -> unit
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")>]
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.
- Attributes