IVsLiteTreeList::GetExpandable Method (UInt32, Int32)

 

Specifies whether an item is expandable.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetExpandable(
	unsigned int index,
	[OutAttribute] int% pfExpandable
)

Parameters

index
Type: System::UInt32

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

pfExpandable
Type: System::Int32

true if item is expandable.

Return Value

Type: System::Int32

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

From vsshell.idl:

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

GetExpandable is not called if TF_NOEXPANSION is set.

Return to top
Show: