GameBarServicesCommandEventArgs.Origin 属性

定义

获取一个值,该值指定 Game Bar 命令的来源。

public:
 property GameBarCommandOrigin Origin { GameBarCommandOrigin get(); };
GameBarCommandOrigin Origin();
public GameBarCommandOrigin Origin { get; }
var gameBarCommandOrigin = gameBarServicesCommandEventArgs.origin;
Public ReadOnly Property Origin As GameBarCommandOrigin

属性值

一个值,该值指定 Game Bar 命令的原点。

Windows 要求

应用功能
gameBarServices

适用于