IMonitorSelectionService.GetCommandContextCookie Method

Gets the cookie that is assigned to the specified command UI context.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Function GetCommandContextCookie ( _
    commandContext As Guid _
) As UInteger
[CLSCompliantAttribute(false)]
uint GetCommandContextCookie(
    Guid commandContext
)
[CLSCompliantAttribute(false)]
unsigned int GetCommandContextCookie(
    Guid commandContext
)
[<CLSCompliantAttribute(false)>]
abstract GetCommandContextCookie : 
        commandContext:Guid -> uint32
function GetCommandContextCookie(
    commandContext : Guid
) : uint

Parameters

  • commandContext
    Type: System.Guid

    The GUID of the command UI context.

Return Value

Type: System.UInt32
The cookie that is assigned to the specified command UI context.

Remarks

The cookie represents the commandContext parameter that was passed in to this method.

.NET Framework Security

See Also

Reference

IMonitorSelectionService Interface

Microsoft.VisualStudio.Modeling.Shell Namespace