ICAArticleResourceCollection[ object, uuid(2D906CF2-E8E1-4CF8-B83C-B56B243261CB), dual, nonextensible, helpstring("ICAArticleResourceCollection Interface"), pointer_default(unique) ] interface ICAArticleResourceCollection : IDispatch{ [propget, id(1), helpstring("property Count")] HRESULT Count([out, retval] LONG* pVal); [propget, id(2), helpstring("property Item")] HRESULT Item([in] LONG lIndex, [out, retval] IDispatch** pVal); [propget, id(3), helpstring("property ItemFromName")] HRESULT ItemFromName([in] BSTR bstrResourceName, [out, retval] IDispatch** pVal); [id(4), helpstring("method BeginUpdate")] HRESULT BeginUpdate(void); [id(5), helpstring("method EndUpdate")] HRESULT EndUpdate(void); [id(6), helpstring("method Delete")] HRESULT Delete([in] BSTR bstrResourceName); [id(7), helpstring("method Update")] HRESULT Update([in] BSTR bstrResourceName, [in] BSTR bstrFileName); [id(8), helpstring("method GetArticleSourceCode")] HRESULT GetArticleSourceCode([out,retval] BSTR* pbstrText); [id(9), helpstring("method SetArticleSourceCode")] HRESULT SetArticleSourceCode([in] BSTR bstrText); };
属性 Count获得文章资源数量。只读
参数无
类型
属性 Item获得一个文章资源。只读
参数
类型
属性 ItemFromName通过名称或的资源
参数
类型
方法 BeginUpdate开始更新/删除资源。如果需要更新某一个资源,请在更新之前调用BeginUpdate,更新完之后,调用EndUpdate。
参数无
返回无
方法 EndUpdate开始更新/删除资源。如果需要更新某一个资源,请在更新之前调用BeginUpdate,更新完之后,调用EndUpdate。
参数无
返回无 方法 Delete删除一个资源
参数
返回无
方法 Update更新一个资源。该函数从指定的文件读取数据,然后使用该数据,更新指定的资源数据。
参数
返回无
方法 GetArticleSourceCode获得文章源代码
参数无
返回
方法 GetArticleSourceCode设置文章源代码
参数
返回无 |
|||||
|