GameModeUserConfiguration.GamingRelatedProcessNames 属性

定义

返回不受游戏模式影响的游戏相关进程的列表。 可以添加和删除进程名称,但需要调用 SaveAsync () 来保留更改。

public:
 property IVector<Platform::String ^> ^ GamingRelatedProcessNames { IVector<Platform::String ^> ^ get(); };
IVector<winrt::hstring> GamingRelatedProcessNames();
public IList<string> GamingRelatedProcessNames { get; }
var iVector = gameModeUserConfiguration.gamingRelatedProcessNames;
Public ReadOnly Property GamingRelatedProcessNames As IList(Of String)

属性值

IVector<String>

IList<String>

IVector<Platform::String>

IVector<winrt::hstring>

Windows 要求

要求 说明
应用功能
gameList

注解

此 API 并非适用于所有应用。 除非你的开发人员帐户由 Microsoft 专门预配,否则对这些 API 的调用将在运行时失败。

适用于