다음을 통해 공유


RibbonButton.CommandParameter 속성

버전 2에 적용

명령이나 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
명령 또는 CommandId로 전달할 명령 매개 변수입니다.

참고 항목

참조

RibbonButton 클래스

Microsoft.WebMatrix.Extensibility 네임스페이스