Freigeben über


IVsLiteTree.ReAlign Method

Realign part of the list designated by an IVsLiteTreeList instance.

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

Syntax

'Declaration
Function ReAlign ( _
    pNode As IVsLiteTreeList _
) As Integer
'Usage
Dim instance As IVsLiteTree
Dim pNode As IVsLiteTreeList
Dim returnValue As Integer

returnValue = instance.ReAlign(pNode)
int ReAlign(
    IVsLiteTreeList pNode
)
int ReAlign(
    [InAttribute] IVsLiteTreeList^ pNode
)
abstract ReAlign : 
        pNode:IVsLiteTreeList -> int 
function ReAlign(
    pNode : IVsLiteTreeList
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Collapses the list if it doesn't support relocation.

COM Signature

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::ReAlign(
   [in] IVsLiteTreeList *pNode
);

.NET Framework Security

See Also

Reference

IVsLiteTree Interface

IVsLiteTree Members

Microsoft.VisualStudio.Shell.Interop Namespace