XmlAttribute クラス
アセンブリ: System.Xml (system.xml.dll 内)


属性は、要素に関連付けることができます。属性が属する XmlElement を取得するには、OwnerElement プロパティを使用します。
XmlElement クラスには、属性ノード (XmlElement.GetAttribute、XmlElement.SetAttribute、XmlElement.RemoveAttribute など) にアクセスするためのメソッドがいくつか用意されています。また、XmlAttributeCollection を返す XmlElement.Attributes プロパティを呼び出して、このコレクションの名前やインデックスで属性にアクセスすることもできます。

System.Xml.XmlNode
System.Xml.XmlAttribute


Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


XmlAttribute コンストラクタ
アセンブリ: System.Xml (system.xml.dll 内)

Protected Friend Sub New ( _ prefix As String, _ localName As String, _ namespaceURI As String, _ doc As XmlDocument _ )
Dim prefix As String Dim localName As String Dim namespaceURI As String Dim doc As XmlDocument Dim instance As New XmlAttribute(prefix, localName, namespaceURI, doc)
protected internal XmlAttribute ( string prefix, string localName, string namespaceURI, XmlDocument doc )
protected public: XmlAttribute ( String^ prefix, String^ localName, String^ namespaceURI, XmlDocument^ doc )
protected internal function XmlAttribute ( prefix : String, localName : String, namespaceURI : String, doc : XmlDocument )
パラメータ
- localName
- namespaceURI

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


XmlAttribute プロパティ


XmlAttribute メソッド


名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 ( Object から継承されます。) |

XmlAttribute メンバ
属性を表します。属性に対する有効値および既定値は、文書型定義 (DTD : Document Type Definition) またはスキーマで定義されます。
XmlAttribute データ型で公開されるメンバを以下の表に示します。

名前 | 説明 | |
---|---|---|
![]() | XmlAttribute |



名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |

- XmlAttributeのページへのリンク