次の方法で共有


IVsLiteTreeList.GetExpandable(UInt32, Int32) Method

Definition

Specifies whether an item is expandable.

public:
 int GetExpandable(System::UInt32 index, [Runtime::InteropServices::Out] int % pfExpandable);
int GetExpandable(unsigned int index, [Runtime::InteropServices::Out] int & pfExpandable);
public int GetExpandable (uint index, out int pfExpandable);
abstract member GetExpandable : uint32 * int -> int
Public Function GetExpandable (index As UInteger, ByRef pfExpandable As Integer) As Integer

Parameters

index
UInt32

[in] Specifies the index of the node of interest.

pfExpandable
Int32

true if item is expandable.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsLiteTreeList::GetExpandable(  
   [in] ULONG Index,  
   [out] BOOL *pfExpandable  
);  

GetExpandable is not called if TF_NOEXPANSION is set.

Applies to