ICABook[ object, uuid(63A62DC9-F44D-4088-851A-57CC1E6EB8B4), dual, nonextensible, helpstring("ICABook Interface"), pointer_default(unique) ] interface ICABook : IDispatch{ [id(1), helpstring("method Open")] HRESULT Open([in] BSTR bstrGUID); [id(2), helpstring("method Close")] HRESULT Close(void); [propget, id(3), helpstring("property RootNode")] HRESULT RootNode([out, retval] IDispatch** pVal); [propget, id(4), helpstring("property Labels")] HRESULT Labels([out, retval] IDispatch** pVal); [propget, id(5), helpstring("property Attachments")] HRESULT Attachments([out, retval] IDispatch** pVal); [propget, id(6), helpstring("property GUID")] HRESULT GUID([out, retval] BSTR* pVal); [propget, id(7), helpstring("property Name")] HRESULT Name([out, retval] BSTR* pVal); [propput, id(7), helpstring("property Name")] HRESULT Name([in] BSTR newVal); [propget, id(8), helpstring("property IconIndex")] HRESULT IconIndex([out, retval] LONG* pVal); [propget, id(9), helpstring("property RecycleBin")] HRESULT RecycleBin([out, retval] IDispatch** pVal); [id(10), helpstring("method CreateFolder")] HRESULT CreateFolder([in] IDispatch* pParentNode, [in] BSTR bstrTitle, [out,retval] IDispatch** ppNewFolder); [id(11), helpstring("method CreateArticle")] HRESULT CreateArticle([in] IDispatch* pParentNode, [in] BSTR bstrTitle, [out,retval] IDispatch** ppNewArticle); [id(12), helpstring("method CreateFolderByFolderPath")] HRESULT CreateFolderByFolderPath([in] IDispatch* pParentNode, [in] BSTR bstrFolderPath, [out,retval] IDispatch** ppNewFolder); [id(13), helpstring("method CreateLabel")] HRESULT CreateLabel([in] BSTR bstrLabelName, [out,retval] IDispatch** ppLabelDisp); [id(14), helpstring("method NodeFromID")] HRESULT NodeFromID([in] LONG nID, [out,retval] IDispatch** ppDisp); [id(15), helpstring("method AttachmentFromID")] HRESULT AttachmentFromID([in] LONG nID, [out,retval] IDispatch** ppDisp); [id(16), helpstring("method LabelFromID")] HRESULT LabelFromID([in] LONG nID, [out,retval] IDispatch** ppDisp); [id(17), helpstring("method Search")] HRESULT Search([in] BSTR bstrFind, [in] LONG nFlags, [in] LONG nResultCount, [out,retval] IDispatch** ppResult); [id(18), helpstring("method SearchSupportIngoreCase")] HRESULT SearchSupportIngoreCase(void); [id(19), helpstring("method BeginUpdate")] HRESULT BeginUpdate(void); [id(20), helpstring("method EndUpdate")] HRESULT EndUpdate(void); [id(21), helpstring("method NodesFromURL")] HRESULT NodesFromURL([in] BSTR bstrURL, [out,retval] IDispatch** ppNodesDisp); [id(22), helpstring("method RecentArticles")] HRESULT RecentArticles([in] LONG nCount, [out,retval] IDispatch** ppArticlesDisp); [id(23), helpstring("method UnreadArticles")] HRESULT UnreadArticles([out,retval] IDispatch** ppArticlesDisp); [id(24), helpstring("method SetPasswordStorage")] HRESULT SetPasswordStorage([in] VARIANT vPasswordStorage); [propget, id(25), helpstring("property Nodes")] HRESULT Nodes([out, retval] IDispatch** pVal); [propget, id(26), helpstring("property Users")] HRESULT Users([out,retval] VARIANT* pvUsers); [id(27), helpstring("method DeleteUser")] HRESULT DeleteUser([in] BSTR bstrUser); [id(28), helpstring("method ChangeUser")] HRESULT ChangeUser([in] BSTR bstrOldUser, [in] BSTR bstrNewUser); [id(29), helpstring("method GetFirstNode")] HRESULT GetFirstNode([out,retval] IDispatch** ppNodeDisp); [id(30), helpstring("method GetPrevNode")] HRESULT GetPrevNode([in] IDispatch* pCurrNodeDisp, [out,retval] IDispatch** ppNodeDisp); [id(31), helpstring("method GetNextNode")] HRESULT GetNextNode([in] IDispatch* pCurrNodeDisp, [out,retval] IDispatch** ppNodeDisp); [id(32), helpstring("method GetLastNode")] HRESULT GetLastNode([out,retval] IDispatch** ppNodeDisp); [id(33), helpstring("method NodesFromLabels")] HRESULT NodesFromLabels([in] VARIANT vLabels, [out,retval] IDispatch** ppNodesDisp); [id(34), helpstring("method SetBookPassword")] HRESULT SetBookPassword([in] BSTR bstrOldPassword, [in] BSTR bstrNewPassword); [id(35), helpstring("method SearchInNodes")] HRESULT SearchInNodes([in] IDispatch* pNodesDisp, [in] BSTR bstrFind, [in] LONG nFlags, [in] LONG nResultCount, [out,retval] IDispatch** ppResult); [id(36), helpstring("method RecentArticlesEx")] HRESULT RecentArticlesEx([in] LONG nCount, long nFlags, [out,retval] IDispatch** ppArticlesDisp); [propget, id(37), helpstring("property Icons")] HRESULT Icons([out, retval] IDispatch** pVal); [id(38), helpstring("method AddIcon")] HRESULT AddIcon([in] BSTR bstrFileName, [out,retval] IDispatch** ppIconDisp); [id(39), helpstring("method IconFromID")] HRESULT IconFromID([in] LONG nID, [out,retval] IDispatch** ppDisp); [id(40), helpstring("method Compress")] HRESULT Compress(void); [id(41), helpstring("method Backup")] HRESULT Backup([in] BSTR bstrBackupPath); [id(42), helpstring("method NodesFromSQL")] HRESULT NodesFromSQL([in] BSTR bstrSQL, [out,retval] IDispatch** ppNodesDisp); [id(43), helpstring("method NodeFromGUID")] HRESULT NodeFromGUID([in] BSTR bstrGUID, [out,retval] IDispatch** ppNodeDisp); [id(44), helpstring("method NodesFromAttribute")] HRESULT NodesFromAttribute([in] BSTR bstrAttributeName, [in] BSTR bstrAttributeValue, [out,retval] IDispatch** ppNodesDisp); [id(45), helpstring("method GetBookSettings")] HRESULT GetBookSettings([in] BSTR bstrSettingsName, [in] BSTR bstrDefaultValue, [out,retval] BSTR* pbstrValue); [id(46), helpstring("method SetBookSettings")] HRESULT SetBookSettings([in] BSTR bstrSettingsName, [in] BSTR bstrSettingsValue); };
方法 Open打开书籍
参数
返回无
方法 Close关闭已经打开的书籍
参数无
返回无
属性 RootNode获得根节点
参数无
类型
属性 Labels获得书籍内所有的Label
参数无
类型
属性 Attachments获得书籍内所有的附件
参数无
类型
属性 GUID获得书籍的GUID
参数无
类型
属性 Name获得或者设置书籍名称
参数无
类型
属性 IconIndex获得书籍的图标索引(书籍上就是RootNode的图标索引)
参数无
类型
属性 RecycleBin获得回收站节点
参数无
类型
方法 CreateFolder创建一个文件夹
参数
返回
方法 CreateArticle打开一个书籍
参数
返回
方法 CreateFolderByFolderPath通过文件夹标题路径创建新的文件夹。标题路径通过反斜线(\)分割
参数
返回
|
|||||
|