ICAImportHTMLDataCollection

[ 
    object, 
    uuid(C95D8083-8081-47CC-90DB-CFDAF879CE2D), 
    dual, 
    nonextensible, 
    helpstring("ICAImportHTMLDataCollection Interface"), 
    pointer_default(unique) 
] 
interface ICAImportHTMLDataCollection : IDispatch{ 
    [propget, id(1), helpstring("property Count")] HRESULT Count([out, retval] LONG* pVal); 
    [propget, id(2), helpstring("property Item")] HRESULT Item([in] LONG nIndex, [out, retval] IDispatch** pVal); 
    [id(3), helpstring("method Add")] HRESULT Add([in] IDispatch* pDataDisp); 
    [id(4), helpstring("method Add2")] HRESULT Add2([in] BSTR bstrTitle, [in] BSTR bstrFolder, [in] BSTR bstrFileName); 
    [id(5), helpstring("method Add3")] HRESULT Add3([in] BSTR bstrTitle, [in] BSTR bstrFolder, [in] BSTR bstrFileName, [in] BSTR bstrURL); 
};
 
ProgID
CyberArticleImportHTML.CAImportHTMLDataCollection
C/C++头文件
CyberArticleImportHTML_i.h; CyberArticleImportHTML_i.c
 

属性 Count

获得ICAImportHTMLData数据数量。只读

参数

类型

  • get: [out, retval] LONG* pVal:返回数量
  • put: 无

属性 Item

获得一个ICAImportHTMLData数据

参数

  • [in] LONG nIndex:节点索引。(0 到 Count - 1)

类型

  • get: [out, retval] IDispatch** pVal:返回数据 (ICAImportHTMLData)
  • put: 无

方法 Add

添加一个ICAImportHTMLData对象

参数

  • [in] IDispatch* pDataDisp:需要添加的ICAImportHTMLData

返回

方法 Add2

添加一个ICAImportHTMLData对象

参数

  • [in] BSTR bstrTitle:文章标题
  • [in] BSTR bstrFolder:文件夹路径
  • [in] BSTR bstrFileName:文件名

返回

方法 Add3

添加一个ICAImportHTMLData对象

参数

  • [in] BSTR bstrTitle:文章标题
  • [in] BSTR bstrFolder:文件夹路径
  • [in] BSTR bstrFileName:文件名
  • [in] BSTR bstrURL:文件原始网址

返回