IVsLiteTree.SetRoot Method

Sets the root object of the tree.

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


Function SetRoot ( _
    pList As IVsLiteTreeList, _
    <OutAttribute> ByRef ppClone As IVsLiteTree _
) As Integer
‘사용 방법
Dim instance As IVsLiteTree
Dim pList As IVsLiteTreeList
Dim ppClone As IVsLiteTree
Dim returnValue As Integer

returnValue = instance.SetRoot(pList, _
int SetRoot(
    IVsLiteTreeList pList,
    out IVsLiteTree ppClone
int SetRoot(
    [InAttribute] IVsLiteTreeList^ pList, 
    [OutAttribute] IVsLiteTree^% ppClone
abstract SetRoot : 
        pList:IVsLiteTreeList * 
        ppClone:IVsLiteTree byref -> int 
function SetRoot(
    pList : IVsLiteTreeList, 
    ppClone : IVsLiteTree
) : int


Return Value

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


COM Signature


From vsshell.idl:

HRESULT IVsLiteTree::SetRoot(
   [in] IVsLiteTreeList *pList,
   [out] IVsLiteTree **ppClone

.NET Framework Security

See Also


IVsLiteTree Interface

IVsLiteTree Members

Microsoft.VisualStudio.Shell.Interop Namespace