共用方式為


GameBarServicesCommandEventArgs 類別

定義

提供 GameBarServices.CommandReceived 事件的資料。

public ref class GameBarServicesCommandEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.GameBarContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GameBarServicesCommandEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.GameBarContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GameBarServicesCommandEventArgs
Public NotInheritable Class GameBarServicesCommandEventArgs
繼承
Object Platform::Object IInspectable GameBarServicesCommandEventArgs
屬性

Windows 需求

裝置系列
Windows Desktop Extension SDK (已於 10.0.15063.0 引進)
API contract
Windows.Media.Capture.GameBarContract (已於 v1.0 引進)
應用程式功能
gameBarServices

屬性

Command

取得值,指定與事件相關聯的 Game Bar 命令。

Origin

取得值,指定遊戲列命令的原點。

適用於