IsExpanded

This method checks whether or not a Project Tree group is expanded. IsExpanded returns TRUE when the specified group is expanded.  .

 

JavaScript

 

IsExpanded(

       ID)

 

C#

 

bool IsExpanded (

       string GroupID)

 

C++

 

HRESULT IsExpanded (

       [in] BSTR GroupID,

       [out, retval] VARIANT_BOOL * pVal) 

Parameters

GroupID

The ID of the group in question.

Return Value

pVal

A Boolean that indicates whether or not the group is expanded.

Exceptions

HRESULT can return any of the values listed in the HRESULT Return Values list, as well as the following values:

TE_E_INFOTREE_ITEMNOTGROUP

The item entered is not a group and therefore cannot be used as a group.