Xml.XMLIntf.IXMLNode.GetAttributeNS
Delphi
function GetAttributeNS(const AttrName, NamespaceURI: DOMString): OleVariant;
C++
virtual System::OleVariant __fastcall GetAttributeNS(const System::UnicodeString AttrName, const System::UnicodeString NamespaceURI) = 0 ;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Xml.XMLIntf.pas Xml.XMLIntf.hpp |
Xml.XMLIntf | IXMLNode |
説明
指定した属性の値を返します。
GetAttributeNS メソッドを呼び出すと,属性の名前空間を明示的に指定する必要があるときに属性の値を判別できます。
AttrName は,フェッチする値を持つ属性の名前です。
NamespaceURI は,属性が含まれている名前空間を識別します。
GetAttributeNS メソッドは属性の値を返します。AttrName と NamespaceURI がこのノードの属性を識別しない場合,GetAttributeNS はバリアント型の Null 値を返します。