IMonitorSelectionService.IsCommandContextActive Method (UInt32)
Verifies whether the command UI context for the specified cookie is active.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Function IsCommandContextActive ( _
cookie As UInteger _
) As Boolean
bool IsCommandContextActive(
uint cookie
)
bool IsCommandContextActive(
unsigned int cookie
)
abstract IsCommandContextActive :
cookie:uint32 -> bool
function IsCommandContextActive(
cookie : uint
) : boolean
Parameters
cookie
Type: System.UInt32The cookie that is assigned to the command UI context.
Return Value
Type: System.Boolean
true if the command UI context for the specified cookie is active; otherwise, false.
.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.
See Also
Reference
IMonitorSelectionService Interface