共用方式為


IVsLibrary2.GetLibFlags2 Method

Returns flags associated with the library.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function GetLibFlags2 ( _
    <OutAttribute> ByRef pgrfFlags As UInteger _
) As Integer
int GetLibFlags2(
    out uint pgrfFlags
)
int GetLibFlags2(
    [OutAttribute] unsigned int% pgrfFlags
)
abstract GetLibFlags2 : 
        pgrfFlags:uint32 byref -> int
function GetLibFlags2(
    pgrfFlags : uint
) : int

Parameters

  • pgrfFlags
    Type: UInt32%

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

Return Value

Type: Int32
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.

.NET Framework Security

See Also

Reference

IVsLibrary2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace