Share via


AnchoredDynamicCommandMetadata Constructors

Definition

Overloads

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.

AnchoredDynamicCommandMetadata(IReadOnlyDictionary<String,String>)

Initializes a new instance of the AnchoredDynamicCommandMetadata class.

public AnchoredDynamicCommandMetadata (System.Collections.Generic.IReadOnlyDictionary<string,string?> properties);
new Microsoft.VisualStudio.RpcContracts.Commands.AnchoredDynamicCommandMetadata : System.Collections.Generic.IReadOnlyDictionary<string, string> -> Microsoft.VisualStudio.RpcContracts.Commands.AnchoredDynamicCommandMetadata
Public Sub New (properties As IReadOnlyDictionary(Of String, String))

Parameters

properties
IReadOnlyDictionary<String,String>

The full set of properties to be used to initialize all required members of this type.

Applies to

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

Initializes a new instance of the AnchoredDynamicCommandMetadata class.

public AnchoredDynamicCommandMetadata (string id, string displayName, string? tooltipText, Microsoft.VisualStudio.RpcContracts.Commands.CommandFlags? flags, string? iconName, uint relativeSortOrder, string dynamicCommandAnchorIdentifier);
new Microsoft.VisualStudio.RpcContracts.Commands.AnchoredDynamicCommandMetadata : string * string * string * Nullable<Microsoft.VisualStudio.RpcContracts.Commands.CommandFlags> * string * uint32 * string -> Microsoft.VisualStudio.RpcContracts.Commands.AnchoredDynamicCommandMetadata
Public Sub New (id As String, displayName As String, tooltipText As String, flags As Nullable(Of CommandFlags), iconName As String, relativeSortOrder As UInteger, dynamicCommandAnchorIdentifier As String)

Parameters

id
String

The id of the command being defined. Must be unique within a given CommandSet.

displayName
String

The display name of the command.

tooltipText
String

The tooltip text of the command.

flags
Nullable<CommandFlags>

The flags associated with the command.

iconName
String

The name of the icon to be displayed on the command.

relativeSortOrder
UInt32

Used to determine the specific placement of the command within the given DynamicCommandAnchor.

dynamicCommandAnchorIdentifier
String

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

Applies to