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
'Déclaration
Function GetLibFlags2 ( _
<OutAttribute> ByRef pgrfFlags As UInteger _
) As Integer
'Utilisation
Dim instance As IVsLibrary2
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] 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 vsshell80.idl:
HRESULT IVsLibrary2::GetLibFlags2(
[out, retval] LIB_FLAGS2 *pgrfFlags
);
Set the PfFlags parameter to a combination of enumerators from _LIB_FLAGS.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.