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
'Declaration
Function GetLibFlags2 ( _
<OutAttribute> ByRef pgrfFlags As UInteger _
) As Integer
'Usage
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
)
abstract GetLibFlags2 :
pgrfFlags:uint32 byref -> int
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.
.NET Framework Security
- 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.