다음을 통해 공유


IVsPreviewChangesList.GetExpandedList Method

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)

Syntax

'Declaration
Function GetExpandedList ( _
    index As UInteger, _
    <OutAttribute> ByRef pfCanRecurse As Integer, _
    <OutAttribute> ByRef pptlNode As IVsLiteTreeList _
) As Integer
int GetExpandedList(
    uint index,
    out int pfCanRecurse,
    out IVsLiteTreeList pptlNode
)
int GetExpandedList(
    [InAttribute] unsigned int index, 
    [OutAttribute] int% pfCanRecurse, 
    [OutAttribute] IVsLiteTreeList^% pptlNode
)
abstract GetExpandedList : 
        index:uint32 * 
        pfCanRecurse:int byref * 
        pptlNode:IVsLiteTreeList byref -> int
function GetExpandedList(
    index : uint, 
    pfCanRecurse : int, 
    pptlNode : IVsLiteTreeList
) : int

Parameters

  • index
    Type: UInt32

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

  • pfCanRecurse
    Type: Int32%

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

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsPreviewChangesList Interface

Microsoft.VisualStudio.Shell.Interop Namespace