共用方式為


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

'宣告
Function GetExpandedList ( _
    index As UInteger, _
    <OutAttribute> ByRef pfCanRecurse As Integer, _
    <OutAttribute> ByRef pptlNode As IVsLiteTreeList _
) As Integer
'用途
Dim instance As IVsPreviewChangesList
Dim index As UInteger
Dim pfCanRecurse As Integer
Dim pptlNode As IVsLiteTreeList
Dim returnValue As Integer

returnValue = instance.GetExpandedList(index, _
    pfCanRecurse, pptlNode)
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

  • pfCanRecurse
    Type: System.Int32%
    [out] Returns nonzero (TRUE) if the child list can be recursively called to access its children; otherwise, returns zero (FALSE).

Return Value

Type: System.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

IVsPreviewChangesList Members

Microsoft.VisualStudio.Shell.Interop Namespace