Share via


GameServicePropertyCollection.GetPropertyAsync(String) Method

Definition

Gets the specified game service property.

public:
 virtual IAsyncOperation<Platform::Object ^> ^ GetPropertyAsync(Platform::String ^ propertyName) = GetPropertyAsync;
IAsyncOperation<IInspectable> GetPropertyAsync(winrt::hstring const& propertyName);
public IAsyncOperation<object> GetPropertyAsync(string propertyName);
function getPropertyAsync(propertyName)
Public Function GetPropertyAsync (propertyName As String) As IAsyncOperation(Of Object)

Parameters

propertyName
String

Platform::String

winrt::hstring

The name of the property to retrieve.

Returns

IAsyncOperation<Object>

IAsyncOperation<Platform::Object>

IAsyncOperation<IInspectable>

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.

Applies to