다음을 통해 공유


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

‘선언
Function GetLibFlags ( _
    <OutAttribute> ByRef pfFlags As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsLibrary
Dim pfFlags As UInteger
Dim returnValue As Integer

returnValue = instance.GetLibFlags(pfFlags)
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

IVsLibrary Members

Microsoft.VisualStudio.Shell.Interop Namespace