GameServicePropertyCollection 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供玩家服務屬性的存取權。
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
- 繼承
- 屬性
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) |
取得指定的遊戲服務屬性。 |