共用方式為


IVsSimplePreviewChangesList.GetExpandedList 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::IVsSimplePreviewChangesList ^ % ppIVsSimplePreviewChangesList);
int GetExpandedList(unsigned int index, [Runtime::InteropServices::Out] int & pfCanRecurse, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSimplePreviewChangesList const & & ppIVsSimplePreviewChangesList);
public int GetExpandedList (uint index, out int pfCanRecurse, out Microsoft.VisualStudio.Shell.Interop.IVsSimplePreviewChangesList ppIVsSimplePreviewChangesList);
abstract member GetExpandedList : uint32 * int * IVsSimplePreviewChangesList -> int
Public Function GetExpandedList (index As UInteger, ByRef pfCanRecurse As Integer, ByRef ppIVsSimplePreviewChangesList As IVsSimplePreviewChangesList) 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).

ppIVsSimplePreviewChangesList
IVsSimplePreviewChangesList

[out] Returns an IVsSimplePreviewChangesList 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 IVsSimplePreviewChangesList::GetExpandedList(  
   [in]  ULONG                         Index,   
   [out] BOOL                         *pfCanRecurse,   
   [out] IVsSimplePreviewChangesList **ppIVsSimplePreviewChangesList  
);  

Applies to