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