GameServicePropertyCollection 类

定义

提供对玩家服务属性的访问。

public ref class GameServicePropertyCollection sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GameServicePropertyCollection final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GameServicePropertyCollection
Public NotInheritable Class GameServicePropertyCollection
继承
Object Platform::Object IInspectable GameServicePropertyCollection
属性

Windows 要求

设备系列
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.Phone.PhoneContract (在 v1.0 中引入)

注解

Windows.Phone.System.UserProfile.GameServices.Core 命名空间的所有成员只能由 XBox Live SDK使用。 只有具有ID_CAP_GAMERSERVICES功能的应用程序才能调用这些 API。

方法

GetPropertyAsync(String)

获取指定的游戏服务属性。

适用于