已经知道了某节点,如何得到他的文本内容mshtml ...<big>似的</big>...通过IHTMLDOMNode成功得到了big 节点,如何才能得到此节点的内容啊 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 IHTMLDOMNode::nodeValue Property--------------------------------------------------------------------------------Sets or retrieves the value of a node.SyntaxHRESULT IHTMLDOMNode::get_nodeValue(VARIANT* p);HRESULT IHTMLDOMNode::put_nodeValue(VARIANT v);ParameterspPointer to a variable of type VARIANT of type VT_BSTR or VT_I4 that receives the node value or null.vVARIANT of type VT_BSTR or VT_I4 that specifies the node value or null.Return ValueReturns S_OK if successful, or an error value otherwise. ResIf the object is a TextNode, the IHTMLDOMNode::nodeValue property returns a string representing the text contained by the node.Expressions cannot be used to change the IHTMLDOMNode::nodeValue of a TextNode object.If the object is an attribute object retrieved from the attributes collection, the IHTMLDOMNode::nodeValue property returns the value of the attribute if it has been specified, or null otherwise.If the object is an element, the IHTMLDOMNode::nodeValue returns null. Use the IHTMLDOMNode::nodeName property to determine the element name.See AlsoIHTMLDOMAttribute2::value, Document Object Model--------------------------------------------------------------------------------© 2001 Microsoft Corporation. All rights 我也遇到了次问题,总是var返回空。楼上为什么不举列那 vs2005中如何重载基类的虚函数?步骤是怎样的? 使用htmlview时怎么禁用javascript 真心求解:CTreeView显示文件问题及文件夹加密原理 那位好人有Teechart啊? 派生类的问题 CWinThread::m_pMainWnd 是在哪里赋值的? 请教DataGrid如何修改表格中的数据?(已经设置了AllowUpdate属性) 做过ODBC编程的高人们给些建议(最好有例程) ----请问所谓的 overlapped 到底是什么意思,作什么用?---- MFC如何在Dlg类的函数中获取View类的DC? 为什么仍会保存文件 有问题...关于贴图遮盖
Parametersp
Pointer to a variable of type VARIANT of type VT_BSTR or VT_I4 that receives the node value or null.
v
VARIANT of type VT_BSTR or VT_I4 that specifies the node value or null.
Return ValueReturns S_OK if successful, or an error value otherwise. ResIf the object is a TextNode, the IHTMLDOMNode::nodeValue property returns a string representing the text contained by the node.Expressions cannot be used to change the IHTMLDOMNode::nodeValue of a TextNode object.If the object is an attribute object retrieved from the attributes collection, the IHTMLDOMNode::nodeValue property returns the value of the attribute if it has been specified, or null otherwise.If the object is an element, the IHTMLDOMNode::nodeValue returns null. Use the IHTMLDOMNode::nodeName property to determine the element name.See AlsoIHTMLDOMAttribute2::value, Document Object Model--------------------------------------------------------------------------------© 2001 Microsoft Corporation. All rights