IVsLiteTree.GetInitFlags Method
Retrieves the tree list options.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetInitFlags ( _
<OutAttribute> ByRef pgrfOpts As UInteger _
) As Integer
'Usage
Dim instance As IVsLiteTree
Dim pgrfOpts As UInteger
Dim returnValue As Integer
returnValue = instance.GetInitFlags(pgrfOpts)
int GetInitFlags(
out uint pgrfOpts
)
int GetInitFlags(
[OutAttribute] unsigned int% pgrfOpts
)
abstract GetInitFlags :
pgrfOpts:uint32 byref -> int
function GetInitFlags(
pgrfOpts : uint
) : int
Parameters
- pgrfOpts
Type: System.UInt32%
[Out] Pointer to bit flags containing the options. For more information, see __VSLITETREEOPTS.
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::GetInitFlags(
[out]VSLITETREEOPTS *pgrfOpts
);
.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.