XmlReaderSettings コンストラクタとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > XmlReaderSettings コンストラクタの意味・解説 

XmlReaderSettings コンストラクタ

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

XmlReaderSettings クラス新しインスタンス初期化します。

名前空間: System.Xml
アセンブリ: System.Xml (system.xml.dll 内)
構文構文

Dim instance As New XmlReaderSettings
public XmlReaderSettings ()
public:
XmlReaderSettings ()
public XmlReaderSettings ()
public function XmlReaderSettings ()
解説解説

XmlReaderSettingsインスタンス初期プロパティ値を次の表に示します

プロパティ

初期値

CheckCharacters

true

ConformanceLevel

Document

IgnoreComments

false

IgnoreProcessingInstructions

false

IgnoreWhitespace

false

LineNumberOffset

0

LinePositionOffset

0

NameTable

null 参照 (Visual Basic では Nothing)

ProhibitDtd

true

Schemas

空の XmlSchemaSet オブジェクト

ValidationFlags

ProcessIdentityConstraints

ValidationType

None

XmlResolver

新しい XmlUrlResolver オブジェクト

使用例使用例

処理命令コメント、および意味のない空白取り除くリーダー構築するために使用できる設定オブジェクトの作成方法次に示します

' Set the reader settings.
Dim settings as XmlReaderSettings = new
 XmlReaderSettings()
settings.IgnoreComments = true
settings.IgnoreProcessingInstructions = true
settings.IgnoreWhitespace = true
// Set the reader settings.
XmlReaderSettings settings = new XmlReaderSettings();
settings.IgnoreComments = true;
settings.IgnoreProcessingInstructions = true;
settings.IgnoreWhitespace = true;
// Set the reader settings.
XmlReaderSettings^ settings = gcnew XmlReaderSettings;
settings->IgnoreComments = true;
settings->IgnoreProcessingInstructions = true;
settings->IgnoreWhitespace = true;

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「XmlReaderSettings コンストラクタ」の関連用語

XmlReaderSettings コンストラクタのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



XmlReaderSettings コンストラクタのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS