GetPropertyAsync method
Collapse the table of content
Expand the table of content

GameServicePropertyCollection.GetPropertyAsync method

Gets the specified game service property.

Syntax


public IAsyncOperation<object> GetPropertyAsync(
  string propertyName
)

Parameters

propertyName

Type: System.String [.NET] | Platform::String [C++]

The name of the property to retrieve.

Return value

Type: 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.

Requirements (Windows 10 device family)

Device family

Mobile, introduced version 10.0.10240.0

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.System.UserProfile.GameServices.Core
Windows::Phone::System::UserProfile::GameServices::Core [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.System.UserProfile.GameServices.Core
Windows::Phone::System::UserProfile::GameServices::Core [C++]

Metadata

Windows.WinMD

See also

GameServicePropertyCollection

 

 

Show:
© 2016 Microsoft