tcomIObjectView Interface Reference

Object view. More...

List of all members.

Public Member Functions

HRESULT Save ()
 Save changes.
HRESULT Close ()
 Close view.
HRESULT RunScript ([in] BSTR code,[in] BSTR workingDir,[in] int scriptType)
 Run script.

Properties

VARIANT_BOOL Modified [get]
 Check if view is modified.


Detailed Description

Object view.

View with displayed object


Member Function Documentation

HRESULT Close (  ) 

Close view.

Function will close current view.

Note:
This object is not longer valid after calling close operation.

HRESULT RunScript ( [in] BSTR  code,
[in] BSTR  workingDir,
[in] int  scriptType 
)

Run script.

Run script on given object.

Parameters:
code Script code to run
workingDir Working directory for the script
scriptType Type of script to be run. This value have to be one of:
  • 2 VBScript - standard Microsoft VBScript
  • 3 JavaScript - Mozilla XulRunner based JavaScript

HRESULT Save (  ) 

Save changes.

Function will save changes in the view


Property Documentation

VARIANT_BOOL Modified [get]

Check if view is modified.

Return values:
pModified Return true if view is modified. Return false if view is not modified.


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