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
)
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.
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.