GameServicePropertyCollection
GameServicePropertyCollection
GameServicePropertyCollection
GameServicePropertyCollection
Class
Definition
Provides access to gamer service properties.
public : sealed class GameServicePropertyCollection : IGameServicePropertyCollectionpublic sealed class GameServicePropertyCollection : IGameServicePropertyCollectionPublic NotInheritable Class GameServicePropertyCollection Implements IGameServicePropertyCollection// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Phone.PhoneContract (introduced v1)
|
Remarks
All members of the Windows.Phone.System.UserProfile.GameServices.Core namespace can only be used by the XBox Live SDK. These APIs cannot be called except by applications that have the ID_CAP_GAMERSERVICES capability.
Methods
GetPropertyAsync(String) GetPropertyAsync(String) GetPropertyAsync(String) GetPropertyAsync(String)
Gets the specified game service property.
public : IAsyncOperation<PlatForm::Object> GetPropertyAsync(PlatForm::String propertyName)public IAsyncOperation<object> GetPropertyAsync(String propertyName)Public Function GetPropertyAsync(propertyName As String) As IAsyncOperation( Of object )// You can use this method in JavaScript.
Parameters
- propertyName
- PlatForm::String String String String
The name of the property to retrieve.
Returns
IAsyncOperation<PlatForm::Object>
IAsyncOperation<object>
IAsyncOperation<object>
IAsyncOperation<object>
When this method completes successfully, it returns an object representing the requested property.
Remarks
All members of the Windows.Phone.System.UserProfile.GameServices.Core namespace can only be used by the XBox Live SDK. These APIs cannot be called except by applications that have the ID_CAP_GAMERSERVICES capability.