Freigeben über


IVsLiteTree.Init Method

Initializes the tree using specified options.

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

Syntax

'Declaration
Function Init ( _
    grfOpts As UInteger _
) As Integer
'Usage
Dim instance As IVsLiteTree
Dim grfOpts As UInteger
Dim returnValue As Integer

returnValue = instance.Init(grfOpts)
int Init(
    uint grfOpts
)
int Init(
    [InAttribute] unsigned int grfOpts
)
abstract Init : 
        grfOpts:uint32 -> int 
function Init(
    grfOpts : uint
) : int

Parameters

Return Value

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

Remarks

COM Signature

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::Init(
   [in]VSLITETREEOPTS grfOpts
);

.NET Framework Security

See Also

Reference

IVsLiteTree Interface

IVsLiteTree Members

Microsoft.VisualStudio.Shell.Interop Namespace