RibbonButton.CommandParameter Property

Applies to v2.

Gets or sets the command parameter to pass to the command or CommandId.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Public Property CommandParameter As Object 
    Get 
    Private Set
'Usage
Dim instance As RibbonButton 
Dim value As Object 

value = instance.CommandParameter
public Object CommandParameter { get; private set; }
public:
property Object^ CommandParameter {
    Object^ get ();
    private: void set (Object^ value);
}
member CommandParameter : Object with get, private set
function get CommandParameter () : Object 
private function set CommandParameter (value : Object)

Property Value

Type: System.Object
The command parameter to pass to the command or CommandId.

See Also

Reference

RibbonButton Class

Microsoft.WebMatrix.Extensibility Namespace