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

将当前历史数据设置为当前数据。注意,设置之前的当前数据将会丢失。