GameBarServicesTargetInfo 类

定义

提供有关游戏栏服务目标的元数据。

public ref class GameBarServicesTargetInfo 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 GameBarServicesTargetInfo 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 GameBarServicesTargetInfo
Public NotInheritable Class GameBarServicesTargetInfo
继承
Object Platform::Object IInspectable GameBarServicesTargetInfo
属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.15063.0 中引入)
API contract
Windows.Media.Capture.GameBarContract (在 v1.0 中引入)
应用功能
gameBarServices

属性

AppId

获取游戏栏服务目标应用的唯一标识符。

DisplayMode

获取一个值,该值指示游戏栏服务目标应用的显示模式。

DisplayName

获取游戏栏服务目标应用的显示名称。

TitleId

获取游戏栏服务目标游戏的唯一标识符。

适用于