Partager via


IVsPreviewChangesList.GetExpandedList(UInt32, Int32, IVsLiteTreeList) Method

Definition

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

public:
 int GetExpandedList(System::UInt32 index, [Runtime::InteropServices::Out] int % pfCanRecurse, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList ^ % pptlNode);
int GetExpandedList(unsigned int index, [Runtime::InteropServices::Out] int & pfCanRecurse, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList const & & pptlNode);
public int GetExpandedList (uint index, out int pfCanRecurse, out Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList pptlNode);
abstract member GetExpandedList : uint32 * int * IVsLiteTreeList -> int
Public Function GetExpandedList (index As UInteger, ByRef pfCanRecurse As Integer, ByRef pptlNode As IVsLiteTreeList) As Integer

Parameters

index
UInt32

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

pfCanRecurse
Int32

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

pptlNode
IVsLiteTreeList

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

Returns

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

Remarks

COM Signature

From vsshell80.idl:

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

Applies to