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
- pNode
Type: Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList
[In] Pointer to an object of type IVsLiteTreeList.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.