ICAAttachmentCollection

[ 
    object, 
    uuid(1AA100F1-AA21-4CD6-BCD4-15D9D4D49EB8), 
    dual, 
    nonextensible, 
    helpstring("ICAAttachmentCollection Interface"), 
    pointer_default(unique) 
] 
interface ICAAttachmentCollection : 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.CAAttachmentCollection
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:返回附件 (ICAAttachment)
  • put: 无