ICANodeHistory[
object, uuid(64960AD6-73D8-4521-B689-41A492182DC0), dual, nonextensible, helpstring("ICANodeHistory Interface"), pointer_default(unique) ] interface ICANodeHistory : IDispatch{ [propget, id(1), helpstring("property GUID")] HRESULT GUID([out, retval] BSTR* pVal); [propget, id(2), helpstring("property Node")] HRESULT Node([out, retval] IDispatch** pVal); [propget, id(3), helpstring("property HasPassword")] HRESULT HasPassword([out, retval] LONG* pVal); [propget, id(4), helpstring("property Version")] HRESULT Version([out, retval] LONG* pVal); [propget, id(5), helpstring("property DateModified")] HRESULT DateModified([out, retval] DATE* pVal); [propget, id(6), helpstring("property Owner")] HRESULT Owner([out, retval] BSTR* pVal); [propget, id(7), helpstring("property Comments")] HRESULT Comments([out, retval] BSTR* pVal); [propput, id(7), helpstring("property Comments")] HRESULT Comments([in] BSTR newVal); [id(8), helpstring("method Delete")] HRESULT Delete(void); [id(9), helpstring("method SaveAsHTML")] HRESULT SaveAsHTML([in] BSTR bstrFileName); [id(10), helpstring("method SetAsCurrent")] HRESULT SetAsCurrent(void); };
属性GUID只读。历史GUID。唯一ID。 属性Node只读。获得历史数据所属的节点。 属性HasPassword是否有密码属性。 属性Version版本 属性DateModified历史数据修改日期 属性Comments历史数据注释 方法Delete删除历史数据 方法SaveAsHTML保存成HTML文件 方法SetAsCurrent将当前历史数据设置为当前数据。注意,设置之前的当前数据将会丢失。 |
|
|