次の方法で共有


XmlTextWriter.QuoteChar プロパティ

属性値を囲む引用符に使用する文字を取得または設定します。

Public Property QuoteChar As Char
[C#]
public char QuoteChar {get; set;}
[C++]
public: __property __wchar_t get_QuoteChar();public: __property void set_QuoteChar(__wchar_t);
[JScript]
public function get QuoteChar() : Char;public function set QuoteChar(Char);

プロパティ値

属性値を囲む引用符に使用する文字。単一引用符 (') または二重引用符 (") を使用する必要があります。既定値は二重引用符です。

例外

例外の種類 条件
ArgumentException このプロパティを単一引用符または二重引用符以外の値に設定。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET, Common Language Infrastructure (CLI) Standard

参照

XmlTextWriter クラス | XmlTextWriter メンバ | System.Xml 名前空間