tcomIPage Interface Reference

Page object. More...

Inheritance diagram for tcomIPage:

tcomIViewObject

List of all members.

Public Member Functions

HRESULT Open ([out, retval] IDispatch **ppOvi)
 Open page.
HRESULT Revert ()
 Revert to previous version.

Properties

VARIANT_BOOL ValidData [get]
 Return if page has valid data.
VARIANT_BOOL CanRevert [get]
 Flag if page can be reverted to previous version.


Detailed Description

Page object.

Page stored in the repository. Parent of this object is always document (tcomIDocument).


Member Function Documentation

HRESULT Open ( [out, retval] IDispatch **  ppOvi  ) 

Open page.

Return values:
ppOvi Opened view, type of tcomIObjectView
Returns:
Return S_OK if page was opened. Return E_FAIL if failed. Return E_ABORT if action was canceled (typicaly by user).

HRESULT Revert (  ) 

Revert to previous version.

Function revert to previous version. Function throw exception if failed or cannot be reverted.


Property Documentation

VARIANT_BOOL CanRevert [get]

Flag if page can be reverted to previous version.

Return true if page can be reverted. Return false if cannot be reverted.

VARIANT_BOOL ValidData [get]

Return if page has valid data.

Return values:
pValidData Return true if page has valid data


Generated on Wed Sep 22 16:40:49 2010 for Tahiti COM API