ITreeItem81
The ITreeItem81 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 IProjectTree81 SetParent method.
|
Properties |
|
|
Gets and sets the name of the item in the Project Tree. |
|
|
Gets the name of the group under which the item appears in the Project Tree. |
|
|
Gets and sets a Boolean that determines if the Project Tree item is saved in the Fly file. |
|
|
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) |
SaveInFlyFile
Gets and sets a Boolean that determines if the Project Tree item is saved in the Fly file.
JavaScript |
|
SaveInFlyFile |
C# |
|
bool SaveInFlyFile { get; set; } |
C++ |
|
HRESULT SaveInFlyFile([out, retval] VARIANT_BOOL* pVal) HRESULT SaveInFlyFile([in] VARIANT_BOOL 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) |