IVsPreviewChangesList::GetExpandedList Method (UInt32, Int32, IVsLiteTreeList^)

 

Returns the child list of the specified item that has been expanded in the tree view.

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

int GetExpandedList(
	unsigned int index,
	[OutAttribute] int% pfCanRecurse,
	[OutAttribute] IVsLiteTreeList^% pptlNode
)

Parameters

index
Type: System::UInt32

[in] The index of the item for which to get its children.

pfCanRecurse
Type: System::Int32

[out] Returns nonzero (TRUE) if the child list can be recursively called to access its children; otherwise, returns zero (FALSE).

pptlNode
Type: Microsoft.VisualStudio.Shell.Interop::IVsLiteTreeList^

[out] Returns an IVsLiteTreeList object that contains the requested children elements.

Return Value

Type: System::Int32

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

From vsshell80.idl:

HRESULT IVsPreviewChangesList::GetExpandedList(
   [in]  ULONG             Index, 
   [out] BOOL             *pfCanRecurse, 
   [out] IVsLiteTreeList **pptlNode
);
Return to top
Show: