Freigeben über


IMonitorSelectionService.GetCommandContextCookie-Methode

Ruft das Cookie ab, das der angegebenen Kontext-Befehlsbenutzeroberfläche zugewiesen wird.

Diese API ist nicht CLS-kompatibel. 

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
)

Parameter

  • commandContext
    Typ: System.Guid
    Die GUID des Kontexts der Befehlsbenutzeroberfläch.

Rückgabewert

Typ: System.UInt32
Das Cookie, das dem angegebenen Befehlsbenutzeroberflächen-Kontext zugewiesen wird.

Hinweise

Das Cookie wird der commandContext-Parameter dar, der in dieser Methode übergeben wurde.

.NET Framework-Sicherheit

Siehe auch

Referenz

IMonitorSelectionService Schnittstelle

Microsoft.VisualStudio.Modeling.Shell-Namespace