Share via


ViewFilter.ShowContextMenu Method (Int32, Guid, IOleCommandTarget)

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Overridable Sub ShowContextMenu ( _
    menuId As Integer, _
    groupGuid As Guid, _
    target As IOleCommandTarget _
)
public virtual void ShowContextMenu(
    int menuId,
    Guid groupGuid,
    IOleCommandTarget target
)
public:
virtual void ShowContextMenu(
    int menuId, 
    Guid groupGuid, 
    IOleCommandTarget^ target
)
abstract ShowContextMenu : 
        menuId:int * 
        groupGuid:Guid * 
        target:IOleCommandTarget -> unit  
override ShowContextMenu : 
        menuId:int * 
        groupGuid:Guid * 
        target:IOleCommandTarget -> unit
public function ShowContextMenu(
    menuId : int, 
    groupGuid : Guid, 
    target : IOleCommandTarget
)

Parameters

  • menuId
    Type: Int32
  • groupGuid
    Type: Guid

.NET Framework Security

See Also

Reference

ViewFilter Class

ShowContextMenu Overload

Microsoft.VisualStudio.Package Namespace