ホーム › Data.Xml.MsXml › IXMLElement
IXMLElement
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 12
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 7 | HRESULT get_tagName(LPWSTR* p) |
| 8 | HRESULT put_tagName(LPWSTR p) |
| 9 | HRESULT get_parent(IXMLElement** ppParent) |
| 10 | HRESULT setAttribute(LPWSTR strPropertyName, VARIANT PropertyValue) |
| 11 | HRESULT getAttribute(LPWSTR strPropertyName, VARIANT* PropertyValue) |
| 12 | HRESULT removeAttribute(LPWSTR strPropertyName) |
| 13 | HRESULT get_children(IXMLElementCollection** pp) |
| 14 | HRESULT get_type(INT* plType) |
| 15 | HRESULT get_text(LPWSTR* p) |
| 16 | HRESULT put_text(LPWSTR p) |
| 17 | HRESULT addChild(IXMLElement* pChildElem, INT lIndex, INT lReserved) |
| 18 | HRESULT removeChild(IXMLElement* pChildElem) |