Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaration
Public Overridable Sub ShowContextMenu ( _
menuId As Integer, _
groupGuid As Guid, _
target As IOleCommandTarget, _
x As Integer, _
y As Integer _
)
'Usage
Dim instance As ViewFilter
Dim menuId As Integer
Dim groupGuid As Guid
Dim target As IOleCommandTarget
Dim x As Integer
Dim y As Integer
instance.ShowContextMenu(menuId, groupGuid, _
target, x, y)
public virtual void ShowContextMenu(
int menuId,
Guid groupGuid,
IOleCommandTarget target,
int x,
int y
)
public:
virtual void ShowContextMenu(
int menuId,
Guid groupGuid,
IOleCommandTarget^ target,
int x,
int y
)
abstract ShowContextMenu :
menuId:int *
groupGuid:Guid *
target:IOleCommandTarget *
x:int *
y:int -> unit
override ShowContextMenu :
menuId:int *
groupGuid:Guid *
target:IOleCommandTarget *
x:int *
y:int -> unit
public function ShowContextMenu(
menuId : int,
groupGuid : Guid,
target : IOleCommandTarget,
x : int,
y : int
)
Parameters
- menuId
Type: System.Int32
- groupGuid
Type: System.Guid
- target
Type: Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget
- x
Type: System.Int32
- y
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.