共用方式為


ViewFilter.ShowContextMenu Method (Int32, Guid, IOleCommandTarget, Int32, Int32)

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)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

Syntax

'宣告
Public Overridable Sub ShowContextMenu ( _
    menuId As Integer, _
    groupGuid As Guid, _
    target As IOleCommandTarget, _
    x As Integer, _
    y As Integer _
)
public virtual void ShowContextMenu(
    int menuId,
    Guid groupGuid,
    IOleCommandTarget target,
    int x,
    int y
)

Parameters

.NET Framework Security

See Also

Reference

ViewFilter Class

ShowContextMenu Overload

Microsoft.VisualStudio.Package Namespace