Share via


IVsLibrary.GetLibFlags Method

Returns flags associated with the library.

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

Syntax

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

Parameters

  • pfFlags
    Type: System.UInt32%
    [out] Pointer to a flag indicating which flags 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 vsshell.idl:

HRESULT IVsLibrary::GetLibFlags(
   [out, retval] LIB_FLAGS *pfFlags
);

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

.NET Framework Security

See Also

Reference

IVsLibrary Interface

Microsoft.VisualStudio.Shell.Interop Namespace