Compartir a través de


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
int Init(
    uint grfOpts
)
int Init(
    [InAttribute] unsigned int grfOpts
)
abstract Init : 
        grfOpts:uint32 -> int
function Init(
    grfOpts : uint
) : int

Parameters

  • grfOpts
    Type: UInt32

     [in] Bit flags specifying the options. For more information, see __VSLITETREEOPTS.

Return Value

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

Microsoft.VisualStudio.Shell.Interop Namespace