Condividi tramite


IVsObjectList.GetFlags(UInt32) Method

Definition

Returns the attributes of the current tree list.

public:
 int GetFlags([Runtime::InteropServices::Out] System::UInt32 % pFlags);
int GetFlags([Runtime::InteropServices::Out] unsigned int & pFlags);
public int GetFlags (out uint pFlags);
abstract member GetFlags : uint32 -> int
Public Function GetFlags (ByRef pFlags As UInteger) As Integer

Parameters

pFlags
UInt32

[out] Pointer to a variable indicating attributes of the current tree list. Values are taken from the _VSTREEFLAGS enumeration

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsObjectList::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.

Applies to