ITreeItem80

The ITreeItem80 interface allows you to obtain details about items in the Project Tree. For example, you can find out the Project Tree Item ID of the object and then use it to set a new parent group for the item using the IProjectTree80 SetParent method.

 

 

Properties

 

Name

Gets and sets the name of the item in the Project Tree.

ParentGroupName

Gets the name of the group under which the item appears in the Project Tree.

ShowInViewerTree

Gets and sets a Boolean that determines if the object appears in the Project Tree when the file is viewed with the TerraExplorer viewer.

Name

Gets and sets the name of the object as it appears in the Project Tree.

 

JavaScript

 

Name

 

C#

 

string Name { get; set; }

 

C++

 

HRESULT Name([out, retval] BSTR* pVal)

HRESULT Name([in] BSTR pVal)

ParentGroupName

Gets the name of the group under which the item appears in the Project Tree.

 

JavaScript

 

ParentGroupName

 

C#

 

string ParentGroupName { get; }

 

C++

 

HRESULT ParentGroupName([out, retval] BSTR* pVal)

ShowInViewerTree

Gets and sets a Boolean that determines if the object appears in the Project Tree when the file is viewed with the TerraExplorer Viewer.

 

JavaScript

 

ShowInViewerTree

 

C#

 

bool ShowInViewerTree { get; set; }

 

C++

 

HRESULT ShowInViewerTree([out, retval] VARIANT_BOOL* pVal)

HRESULT ShowInViewerTree([in] VARIANT_BOOL pVal)