次の方法で共有


RibbonButton.CommandParameter プロパティ

v2 に適用されます。

Command または CommandId に渡すコマンド パラメーターを取得または設定します。

名前空間:  Microsoft.WebMatrix.Extensibility
アセンブリ:  Microsoft.WebMatrix.Extensibility (Microsoft.WebMatrix.Extensibility.dll)

構文

'宣言
Public Property CommandParameter As Object 
    Get 
    Private Set
'使用
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)

プロパティ値

型: System.Object
command または CommandId に渡すコマンド パラメーター。

関連項目

参照

RibbonButton クラス

Microsoft.WebMatrix.Extensibility 名前空間