ICABookmark[
object, uuid(A6157E58-FDE3-4E71-8619-A3143DE7D612), dual, nonextensible, helpstring("ICABookmark Interface"), pointer_default(unique) ] interface ICABookmark : IDispatch{ [propget, id(1), helpstring("property Type")] HRESULT Type([out, retval] LONG* pVal); [propget, id(2), helpstring("property GUID")] HRESULT GUID([out, retval] BSTR* pVal); [propget, id(3), helpstring("property Parent")] HRESULT Parent([out, retval] IDispatch** pVal); [propput, id(3), helpstring("property Parent")] HRESULT Parent([in] IDispatch* newVal); [propget, id(4), helpstring("property Children")] HRESULT Children([out, retval] IDispatch** pVal); [propget, id(5), helpstring("property Title")] HRESULT Title([out, retval] BSTR* pVal); [propput, id(5), helpstring("property Title")] HRESULT Title([in] BSTR newVal); [propget, id(6), helpstring("property PosX")] HRESULT PosX([out, retval] LONG* pVal); [propput, id(6), helpstring("property PosX")] HRESULT PosX([in] LONG newVal); [propget, id(7), helpstring("property PosY")] HRESULT PosY([out, retval] LONG* pVal); [propput, id(7), helpstring("property PosY")] HRESULT PosY([in] LONG newVal); [propget, id(8), helpstring("property IconIndex")] HRESULT IconIndex([out, retval] LONG* pVal); [propput, id(8), helpstring("property IconIndex")] HRESULT IconIndex([in] LONG newVal); [propget, id(9), helpstring("property Pos")] HRESULT Pos([out, retval] LONG* pVal); [propput, id(9), helpstring("property Pos")] HRESULT Pos([in] LONG newVal); [id(10), helpstring("method CreateChildBookmark")] HRESULT CreateChildBookmark([in] IDispatch* pNodeDisp, [in] LONG nIconIndex, [in] LONG nPosX, [in] LONG nPosY, [out,retval] IDispatch** ppNewBookmarkDisp); [id(11), helpstring("method CreateChildFolder")] HRESULT CreateChildFolder([in] BSTR bstrTitle, [in] LONG nIconIndex, [out,retval] IDispatch** ppNewFolderDisp); [id(12), helpstring("method Delete")] HRESULT Delete(); [id(13), helpstring("method GetNode")] HRESULT GetNode([out] BSTR* pbstrBookGUID, [out] LONG* pnNodeID); };
属性 Type获得书签类型。
0:文件夹
1:书签
参数无
类型
属性 GUID获得/设置书签的GUID
参数无
类型
属性 Parent获得/设置书签,保存网页的时候,是否需要包含图片。
参数无
类型
属性 Children获得书签文件夹所包含的子节点
参数无
类型
属性 Title获得/设置书签的标题
参数无
类型
属性 PosX获得/设置打开文章时,水平滚动条的位置
参数无
类型
属性 PosY获得/设置打开文章时,垂直滚动条的位置
参数无
类型
属性 IconIndex获得/设置书签的图标
参数无
类型
属性 Pos获得/设置书签的显示顺序
参数无
类型
方法 CreateChildBookmark在当前文件夹下面,创建一个新的书签。
参数
返回
方法 CreateChildFolder在当前文件夹下面,创建一个新的文件夹。
参数
返回
方法 Delete删除书签
参数无
返回无
方法 GetNode获得书签对应的节点
参数返回无 |
||||||
|