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

'宣言
Function GetLibFlags2 ( _
    <OutAttribute> ByRef pgrfFlags As UInteger _
) As Integer
'使用
Dim instance As IVsSimpleLibrary2
Dim pgrfFlags As UInteger
Dim returnValue As Integer

returnValue = instance.GetLibFlags2(pgrfFlags)
int GetLibFlags2(
    out uint pgrfFlags
)
int GetLibFlags2(
    [OutAttribute] unsigned int% pgrfFlags
)
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
);

Permissions

See Also

Reference

IVsSimpleLibrary2 Interface

IVsSimpleLibrary2 Members

Microsoft.VisualStudio.Shell.Interop Namespace