共用方式為


GameList.FindAllAsync 方法

定義

多載

FindAllAsync()

傳回所有 GameListEntries

FindAllAsync(String)

會傳回所有符合 String 參數所提供 packageFamilyName 的 GameListEntries

FindAllAsync()

傳回所有 GameListEntries

public:
 static IAsyncOperation<IVectorView<GameListEntry ^> ^> ^ FindAllAsync();
/// [Windows.Foundation.Metadata.Overload("FindAllAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<GameListEntry>> FindAllAsync();
[Windows.Foundation.Metadata.Overload("FindAllAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<GameListEntry>> FindAllAsync();
function findAllAsync()
Public Shared Function FindAllAsync () As IAsyncOperation(Of IReadOnlyList(Of GameListEntry))

傳回

屬性

Windows 需求

應用程式功能
gameList

備註

此 API 不適用於所有應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則呼叫這些 API 會在運行時間失敗。

另請參閱

適用於

FindAllAsync(String)

會傳回所有符合 String 參數所提供 packageFamilyName 的 GameListEntries

public:
 static IAsyncOperation<IVectorView<GameListEntry ^> ^> ^ FindAllAsync(Platform::String ^ packageFamilyName);
/// [Windows.Foundation.Metadata.Overload("FindAllAsyncPackageFamilyName")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<GameListEntry>> FindAllAsync(winrt::hstring const& packageFamilyName);
[Windows.Foundation.Metadata.Overload("FindAllAsyncPackageFamilyName")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<GameListEntry>> FindAllAsync(string packageFamilyName);
function findAllAsync(packageFamilyName)
Public Shared Function FindAllAsync (packageFamilyName As String) As IAsyncOperation(Of IReadOnlyList(Of GameListEntry))

參數

packageFamilyName
String

Platform::String

winrt::hstring

傳回

屬性

Windows 需求

應用程式功能
gameList

備註

此 API 不適用於所有應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則呼叫這些 API 會在運行時間失敗。

另請參閱

適用於