MenuFlyoutItem.CommandParameter 屬性

定義

取得或設定要傳遞至 Command 屬性的參數。

public:
 property Platform::Object ^ CommandParameter { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable CommandParameter();

void CommandParameter(IInspectable value);
public object CommandParameter { get; set; }
var object = menuFlyoutItem.commandParameter;
menuFlyoutItem.commandParameter = object;
Public Property CommandParameter As Object
<MenuFlyoutItem>
  <MenuFlyoutItem.CommandParameter>
    object
  </MenuFlyoutItem.CommandParameter>
</MenuFlyoutItem>

屬性值

Object

Platform::Object

IInspectable

要傳遞至 Command 屬性的參數。 預設值為 null

適用於