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)


Function GetFlags ( _
    <OutAttribute> ByRef pFlags As UInteger _
) As Integer
‘사용 방법
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


  • 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.


COM Signature

From vsshell80.idl:

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

See Also


IVsObjectList2 Interface

IVsObjectList2 Members

Microsoft.VisualStudio.Shell.Interop Namespace