共用方式為


IVsLibrary2.GetLibFlags2(UInt32) Method

Definition

Returns flags associated with the library.

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

Parameters

pgrfFlags
UInt32

[out] Pointer to a flag indicating which flags apply to the current library.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsLibrary2::GetLibFlags2(  
   [out, retval] LIB_FLAGS2 *pgrfFlags  
);  

Set the PfFlags parameter to a combination of enumerators from _LIB_FLAGS.

Applies to