名前/値ペアとして、XML 要素の属性を取得または設定します。
Public Property Attributes As Hashtable
[C#]
public Hashtable Attributes {get; set;}
[C++]
public: __property Hashtable* get_Attributes();public: __property void set_Attributes(Hashtable*);
[JScript]
public function get Attributes() : Hashtable;public function set Attributes(Hashtable);
プロパティ値
XML 要素の属性値の Hashtable オブジェクト。
例外
例外の種類 | 条件 |
---|---|
ArgumentException | Hashtable オブジェクトの名前または値が無効です。 |
解説
各属性は、名前/値ペアとして、 Hashtable に格納されます。
属性の名前と値には、有効な XML 属性文字だけを使用してください。 Escape を使用して、文字列から無効な文字を削除します。
二重引用符で囲まれた文字列はサポートされていません。名前/値ペアの文字列には引用符または引用符を必要とするその他の文字を使用しないでください。
必要条件
プラットフォーム: 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 名前空間