ICALabel

[ 
    object, 
    uuid(F8DB0B56-16E4-44DB-A9BB-5EBDB724A87C), 
    dual, 
    nonextensible, 
    helpstring("ICALabel Interface"), 
    pointer_default(unique) 
] 
interface ICALabel : IDispatch{ 
    [propget, id(1), helpstring("property ID")] HRESULT ID([out, retval] LONG* pVal); 
    [propget, id(2), helpstring("property Name")] HRESULT Name([out, retval] BSTR* pVal); 
    [propput, id(2), helpstring("property Name")] HRESULT Name([in] BSTR newVal); 
    [propget, id(3), helpstring("property SortFieldName")] HRESULT SortFieldName([out, retval] BSTR* pVal); 
    [propput, id(3), helpstring("property SortFieldName")] HRESULT SortFieldName([in] BSTR newVal); 
    [propget, id(4), helpstring("property SortType")] HRESULT SortType([out, retval] LONG* pVal); 
    [propput, id(4), helpstring("property SortType")] HRESULT SortType([in] LONG newVal); 
    [propget, id(5), helpstring("property Book")] HRESULT Book([out, retval] IDispatch** pVal); 
    [propget, id(6), helpstring("property Children")] HRESULT Children([out, retval] IDispatch** pVal); 
    [id(7), helpstring("method Delete")] HRESULT Delete(void); 
    [id(8), helpstring("method Reload")] HRESULT Reload(void); 
}; 
ProgID
CyberArticleBook.CALabel
C/C++头文件
CyberArticleBook.h; CyberArticleBook_i.c
 

属性 ID

获得标签ID

参数

类型

  • get: [out, retval] LONG* pVal
  • put: 无

属性 Name

获得/设置标签名称

参数

类型

  • get: [out, retval] BSTR* pVal:获得标签名称
  • put: [in] BSTR newVal:设置标签名称

属性 SortFieldName

保留

参数

类型

保留

属性 SortType

保留

参数

类型

保留

属性 Book

获得标签所在的书籍

参数

类型

  • get: [out, retval] IDispatch** pVal:所在的书籍 (ICABook)
  • put: 无

属性 Children

获得具有标签的节点

参数

类型

  • get: [out, retval] IDispatch** pVal:具有标签的节点 (ICANodeCollection)
  • put: 无

方法 Delete

删除标签

参数

返回

方法 Reload

重新从数据库中获得标签的数据

参数

返回