다음을 통해 공유


MenuConfiguration Class

Definition

Configuration of a VisualStudio.Extensibility Menu.

public sealed class MenuConfiguration : Microsoft.VisualStudio.Extensibility.Commands.ControlContainerConfiguration<Microsoft.VisualStudio.Extensibility.Commands.MenuChild>, IEquatable<Microsoft.VisualStudio.Extensibility.Commands.MenuConfiguration>
type MenuConfiguration = class
    inherit ControlContainerConfiguration<MenuChild>
    interface IEquatable<MenuConfiguration>
Public NotInheritable Class MenuConfiguration
Inherits ControlContainerConfiguration(Of MenuChild)
Implements IEquatable(Of MenuConfiguration)
Inheritance
Implements

Constructors

MenuConfiguration(String)

Initializes a new instance of the MenuConfiguration class.

Properties

Children

Gets the set of children that should be parented to this container.

(Inherited from ControlContainerConfiguration<T>)
DisplayName

Gets the initial container's display name.

(Inherited from ControlContainerConfiguration)
Id

Gets an optional identifier used to reference the container from elsewhere.

(Inherited from ControlContainerConfiguration)
Placements

Gets where the container should be placed in the IDE.

(Inherited from ControlContainerConfiguration)
TooltipText

Gets the container's tooltip text. If left null defaults to displayName.

(Inherited from ControlContainerConfiguration)
Type

Gets the type of the control container.

Methods

Equals(ControlContainerConfiguration) (Inherited from ControlContainerConfiguration)
Equals(ControlContainerConfiguration<T>) (Inherited from ControlContainerConfiguration<T>)
Equals(MenuConfiguration)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

Applies to