IVsObjectList2.GetFlags Method
Returns the attributes of the current tree list.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetFlags ( _
<OutAttribute> ByRef pFlags As UInteger _
) As Integer
'Usage
Dim instance As IVsObjectList2
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 vsshell80.idl:
[C++]
HRESULT IVsObjectList2::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.