共用方式為


CommandBarButtonClass.Parameter Property

Gets or sets the parameter that is used with the command.

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

Syntax

'宣告
Public Overridable Property Parameter As String
    Get
    Set
'用途
Dim instance As CommandBarButtonClass
Dim value As String

value = instance.Parameter

instance.Parameter = value
public virtual string Parameter { get; set; }
public:
virtual property String^ Parameter {
    String^ get ();
    void set (String^ value);
}
abstract Parameter : string with get, set
override Parameter : string with get, set
function get Parameter () : String
function set Parameter (value : String)

Property Value

Type: System.String
The parameter, or the empty string if there is none.

Implements

_CommandBarButton.Parameter

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace