IVsToolbox5.IsItemEnabled Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'宣告
Function IsItemEnabled ( _
pDataObject As IDataObject, _
fForceEvaluation As Boolean, _
<OutAttribute> ByRef pEnabled As Boolean _
) As Integer
'用途
Dim instance As IVsToolbox5
Dim pDataObject As IDataObject
Dim fForceEvaluation As Boolean
Dim pEnabled As Boolean
Dim returnValue As Integer
returnValue = instance.IsItemEnabled(pDataObject, _
fForceEvaluation, pEnabled)
int IsItemEnabled(
IDataObject pDataObject,
bool fForceEvaluation,
out bool pEnabled
)
int IsItemEnabled(
[InAttribute] IDataObject^ pDataObject,
[InAttribute] bool fForceEvaluation,
[OutAttribute] bool% pEnabled
)
abstract IsItemEnabled :
pDataObject:IDataObject *
fForceEvaluation:bool *
pEnabled:bool byref -> int
function IsItemEnabled(
pDataObject : IDataObject,
fForceEvaluation : boolean,
pEnabled : boolean
) : int
Parameters
- pDataObject
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
- fForceEvaluation
Type: System.Boolean
- pEnabled
Type: System.Boolean%
Return Value
Type: System.Int32
.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.