ContextMenuItem.CommandParameter Property

Applies to v2.

Gets or sets the parameter to pass to the command.

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 ContextMenuItem 
Dim value As Object 

value = instance.CommandParameter
public Object CommandParameter { get; private set; }
public:
virtual property Object^ CommandParameter {
    Object^ get () sealed;
    private: void set (Object^ value) sealed;
}
abstract CommandParameter : Object with get, private set 
override CommandParameter : Object with get, private set
final function get CommandParameter () : Object 
private final function set CommandParameter (value : Object)

Property Value

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

Implements

IContextMenuItem.CommandParameter

See Also

Reference

ContextMenuItem Class

Microsoft.WebMatrix.Extensibility Namespace