ICALabelCollection[ object, uuid(88C50B51-A622-4555-AB3C-C96EB61C7420), dual, nonextensible, helpstring("ICALabelCollection Interface"), pointer_default(unique) ] interface ICALabelCollection : 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); [id(3), helpstring("method Add")] HRESULT Add([in] IDispatch* pLabelDisp); [id(4), helpstring("method IndexOfByName")] HRESULT IndexOfByName([in] BSTR bstrLabelName, [out,retval] LONG* pnIndex); };
属性 Count获得标签数量。只读
参数无
类型
属性 Item获得一个标签。只读
参数
类型
方法 Add添加一个标签
参数
返回无
方法 IndexOfByName通过名称获得标签索引。如果找到,则返回 0 到 Count -1 之间的值。否则返回-1
参数
返回
|
|||||
|