佚名通过本文主要向大家介绍了map的父接口,接口不能有父接口,巨神之父满属性,dnf巨神之父属性,获取父页面的属性等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: 为什么访问不到父接口中的属性???
描述:
描述:
为什么访问不到父接口中的属性.???
interface IPowerElement : IDispatch
{[propget, id(8), helpstring("property children")] HRESULT children([in] long
lFilter, [out, retval] IPowerElementMap* *pVal);
}
interface IPowerLine : IPowerElement
CInference::VerifyState(IPowerElement *pElem, IPowerElement *pContextElem, lon
g lAction,BSTR sData)
{
IPowerLine *pLine=0;
pElem->QueryInterface(__uuidof(IPowerLine),(void **)&pLine);
pLine->get_children();
/////提示get_children is not a member of 'IPowerLine'
}