Share via


CommandBarControl.Parameter Property

Returns or sets a string that an application can use to execute a command.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property Parameter As String
    Get
    Set
'Usage
Dim instance As CommandBarControl
Dim value As String

value = instance.Parameter

instance.Parameter = value
string Parameter { get; set; }

Property Value

Type: System.String

Remarks

If the specified parameter is set for a built-in control, the application can modify its default behavior if it can parse and use the new value. If the parameter is set for custom controls, it can be used to send information to code, or it can be used to hold information about the control (similar to a second Tag property value).

See Also

Reference

CommandBarControl Interface

CommandBarControl Members

Microsoft.Office.Core Namespace