Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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: GuidThe GUID of the command UI context.
Return Value
Type: 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
- 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.