Share via


OleMenuCommand Class

This class is an expansion of the MenuCommand class.

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

Syntax

'宣言
<ComVisibleAttribute(True)> _
Public Class OleMenuCommand _
    Inherits MenuCommand
'使用
Dim instance As OleMenuCommand
[ComVisibleAttribute(true)]
public class OleMenuCommand : MenuCommand
[ComVisibleAttribute(true)]
public ref class OleMenuCommand : public MenuCommand
public class OleMenuCommand extends MenuCommand

Inheritance Hierarchy

System.Object
  System.ComponentModel.Design.MenuCommand
    Microsoft.VisualStudio.Shell.OleMenuCommand

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

OleMenuCommand Members

Microsoft.VisualStudio.Shell Namespace