Condividi tramite


GameServicePropertyCollection.GetPropertyAsync(String) Metodo

Definizione

Ottiene la proprietà del servizio di gioco specificata.

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)

Parametri

propertyName
String

Platform::String

winrt::hstring

Nome della proprietà da recuperare.

Restituisce

IAsyncOperation<Object>

IAsyncOperation<Platform::Object>

IAsyncOperation<IInspectable>

Al termine di questo metodo, restituisce un oggetto che rappresenta la proprietà richiesta.

Commenti

Tutti i membri dello spazio dei nomi Windows.Phone.System.UserProfile.GameServices.Core possono essere usati solo dal Live SDK XBox. Queste API non possono essere chiamate ad eccezione delle applicazioni che dispongono della funzionalità ID_CAP_GAMERSERVICES.

Si applica a