IVsLiteTreeList.GetFlags Method
Returns the attributes of the current tree list.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
‘선언
Function GetFlags ( _
<OutAttribute> ByRef pFlags As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsLiteTreeList
Dim pFlags As UInteger
Dim returnValue As Integer
returnValue = instance.GetFlags(pFlags)
int GetFlags(
out uint pFlags
)
int GetFlags(
[OutAttribute] unsigned int% pFlags
)
abstract GetFlags :
pFlags:uint32 byref -> int
function GetFlags(
pFlags : uint
) : int
Parameters
- pFlags
Type: System.UInt32%
[out] Pointer to a variable indicating attributes of the current tree list. Values are taken from the _VSTREEFLAGS enumeration.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsLiteTreeList::GetFlags(
[out] VSTREEFLAGS *pFlags
);
This method returns attributes of the current tree list node. Set these attributes to a combination of the enumerators of _VSTREEFLAGS.
.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.