共用方式為


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)

取得指定的遊戲服務屬性。

適用於