ICAIconCollection

[ 
    object, 
    uuid(F62B9B27-CDFC-4C5A-924E-DB23FF12D639), 
    dual, 
    nonextensible, 
    helpstring("ICAIconCollection Interface"), 
    pointer_default(unique) 
] 
interface ICAIconCollection : IDispatch{ 
    [propget, id(1), helpstring("property Count")] HRESULT Count([out, retval] ULONG* pVal); 
    [propget, id(2), helpstring("property Item")] HRESULT Item([in] LONG lIndex, [out, retval] IDispatch** pVal); 
};

ProgID
CyberArticleBook.CAIconCollection
C/C++头文件
CyberArticleBook.h; CyberArticleBook_i.c
 

属性 Count

获得图标数量。只读

参数

类型

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

属性 Item

获得一个图标。只读

参数

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

类型

  • get: [out, retval] IDispatch** pVal:返回图标 (ICAIcon)
  • put: 无

方法 Add

添加一个图标

参数

  • [in] IDispatch* pDisp:需要添加的图标 (ICAIcon)

返回