Compartilhar via


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
int ReAlign(
    IVsLiteTreeList pNode
)
int ReAlign(
    [InAttribute] IVsLiteTreeList^ pNode
)
abstract ReAlign : 
        pNode:IVsLiteTreeList -> int
function ReAlign(
    pNode : IVsLiteTreeList
) : int

Parameters

Return Value

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

Microsoft.VisualStudio.Shell.Interop Namespace