次の方法で共有


SecurityElement.Text プロパティ

XML 要素内のテキストを取得または設定します。

Public Property Text As String
[C#]
public string Text {get; set;}
[C++]
public: __property String* get_Text();public: __property void set_Text(String*);
[JScript]
public function get Text() : String;public function set Text(String);

プロパティ値

XML 要素内のテキストの値。

例外

例外の種類 条件
ArgumentException テキストが XML で有効ではありません。

解説

テキストには、XML 特殊文字を使用しないでください。 Escape を使用して、文字列から無効な文字を削除します。

SecurityElementTextChildren の両方を格納している場合は、 Text が初めに表示されます。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

SecurityElement クラス | SecurityElement メンバ | System.Security 名前空間