DataSet.InferXmlSchema メソッド
定義
オーバーロード
InferXmlSchema(Stream, String[]) |
指定した Stream の XML スキーマを DataSet に適用します。Applies the XML schema from the specified Stream to the DataSet. |
InferXmlSchema(TextReader, String[]) |
指定した TextReader の XML スキーマを DataSet に適用します。Applies the XML schema from the specified TextReader to the DataSet. |
InferXmlSchema(String, String[]) |
指定したファイルの XML スキーマを DataSet に適用します。Applies the XML schema from the specified file to the DataSet. |
InferXmlSchema(XmlReader, String[]) |
指定した XmlReader の XML スキーマを DataSet に適用します。Applies the XML schema from the specified XmlReader to the DataSet. |
InferXmlSchema(Stream, String[])
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())
パラメーター
- stream
- Stream
スキーマの読み出し元の Stream
。The Stream
from which to read the schema.
- nsArray
- String[]
スキーマ推論から除外する名前空間 URI (Uniform Resource Identifier) 文字列の配列。An array of namespace Uniform Resource Identifier (URI) strings to be excluded from schema inference.
こちらもご覧ください
適用対象
InferXmlSchema(TextReader, String[])
指定した TextReader の XML スキーマを DataSet に適用します。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())
パラメーター
- reader
- TextReader
スキーマの読み出し元の TextReader
。The TextReader
from which to read the schema.
- nsArray
- String[]
スキーマ推論から除外する名前空間 URI (Uniform Resource Identifier) 文字列の配列。An array of namespace Uniform Resource Identifier (URI) strings to be excluded from schema inference.
こちらもご覧ください
適用対象
InferXmlSchema(String, String[])
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())
パラメーター
- fileName
- String
スキーマの読み込み元の (パスを含む) ファイル名。The name of the file (including the path) from which to read the schema.
- nsArray
- String[]
スキーマ推論から除外する名前空間 URI (Uniform Resource Identifier) 文字列の配列。An array of namespace Uniform Resource Identifier (URI) strings to be excluded from schema inference.
例外
FileIOPermission が Read に設定されていません。FileIOPermission is not set to Read.
こちらもご覧ください
適用対象
InferXmlSchema(XmlReader, String[])
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())
パラメーター
- reader
- XmlReader
スキーマの読み出し元の XMLReader
。The XMLReader
from which to read the schema.
- nsArray
- String[]
スキーマ推論から除外する名前空間 URI (Uniform Resource Identifier) 文字列の配列。An array of namespace Uniform Resource Identifier (URI) strings to be excluded from schema inference.