Share via


AnchoredDynamicCommandMetadata Class

Definition

The metadata required to create a command that is anchored to a DynamicCommandAnchor.

[System.Runtime.Serialization.DataContract]
public class AnchoredDynamicCommandMetadata : Microsoft.VisualStudio.RpcContracts.Commands.CommandMetadata
[<System.Runtime.Serialization.DataContract>]
type AnchoredDynamicCommandMetadata = class
    inherit CommandMetadata
Public Class AnchoredDynamicCommandMetadata
Inherits CommandMetadata
Inheritance
AnchoredDynamicCommandMetadata
Attributes

Constructors

AnchoredDynamicCommandMetadata(IReadOnlyDictionary<String,String>)

Initializes a new instance of the AnchoredDynamicCommandMetadata class.

AnchoredDynamicCommandMetadata(String, String, String, Nullable<CommandFlags>, String, UInt32, String)

Initializes a new instance of the AnchoredDynamicCommandMetadata class.

Properties

DisplayName

Gets the display name of the command.

(Inherited from CommandMetadata)
DynamicCommandAnchorIdentifier

Gets the name of the DynamicCommandAnchor that should be used as an anchor for this command's placement.

Flags

Gets or sets the flags associated with the command.

(Inherited from CommandMetadata)
IconName

Gets or sets the name of the icon for the command.

(Inherited from CommandMetadata)
Id

Gets the unique identifier of the command. It is best practice to fully qualify this id with the extension namespace as well as with the command set it belongs to. i.e. MyCompany.CommandSetName.CommandName.

(Inherited from CommandMetadata)
RelativeSortOrder

Gets or sets the relative sort order of the command.

(Inherited from CommandMetadata)
TooltipText

Gets or sets the tooltip text of the command.

(Inherited from CommandMetadata)

Methods

Equals(Object) (Inherited from CommandMetadata)
GetHashCode() (Inherited from CommandMetadata)

Applies to