共用方式為


IOleMenuCommand Interface

Represents an OLE menu command.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
<ComVisibleAttribute(False)> _
Public Interface IOleMenuCommand
[ComVisibleAttribute(false)]
public interface IOleMenuCommand

The IOleMenuCommand type exposes the following members.

Properties

  Name Description
Public property ParametersDescription Gets or sets the parameter description.
Public property Text Gets or sets the text.

Top

Methods

  Name Description
Public method DynamicItemMatch Allows a dynamic item command to match the subsequent items in its list.
Public method Invoke Invokes the command.

Top

See Also

Reference

Microsoft.VisualStudio.Shell Namespace