This documentation is archived and is not being maintained.

IVsLiteTree.GetExpandableAbsolute Method

Determines whether or not you can expand an item.

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

int GetExpandableAbsolute (
	[InAttribute] uint AbsIndex,
	out int pfCanExpand
int GetExpandableAbsolute (
	/** @attribute InAttribute() */ UInt32 AbsIndex, 
	/** @attribute OutAttribute() */ /** @ref */ int pfCanExpand
JScript does not support passing value-type arguments by reference.



[in] Absolute index of the item to check.


[out] Pointer to a Boolean. Set to true if you can expand the item.

Return Value

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

COM Signature


From vsshell.idl:

HRESULT IVsLiteTree::GetExpandableAbsolute(
   [in] ULONG AbsIndex, 
   [out] BOOL *pfCanExpand