Share via


IVsSimpleLibrary2.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: System.UInt32%

    [out] Returns a combination of flags from the _LIB_FLAGS2 enumeration that apply to the current library.

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:

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

.NET Framework Security

See Also

Reference

IVsSimpleLibrary2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace