ContextMenuItem.CommandParameter 属性
适用于版本2
获取或设置要传递到命令的参数。
命名空间: Microsoft.WebMatrix.Extensibility
程序集: Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)
语法
声明
Public Property CommandParameter As Object
Get
Private Set
用法
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)
属性值
类型:System.Object
要传递到命令的参数。
实现
IContextMenuItem.CommandParameter