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
- target
Type: Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget
.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.