ArcadeStick.GetButtonLabel(ArcadeStickButtons) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索指定按钮的按钮标签。
public:
virtual GameControllerButtonLabel GetButtonLabel(ArcadeStickButtons button) = GetButtonLabel;
GameControllerButtonLabel GetButtonLabel(ArcadeStickButtons const& button);
public GameControllerButtonLabel GetButtonLabel(ArcadeStickButtons button);
function getButtonLabel(button)
Public Function GetButtonLabel (button As ArcadeStickButtons) As GameControllerButtonLabel
参数
- button
- ArcadeStickButtons
要检索其标签的按钮。
返回
返回指定按钮的标签。 如果按钮标签为空或控制器的按钮没有已知标签,则返回 None 。