MobileServiceCollectionExtensions.ToCollectionAsync Méthode

Définition

Surcharges

ToCollectionAsync<TTable>(IMobileServiceTable<TTable>, Int32)

Crée une nouvelle collection basée sur la table.

ToCollectionAsync<TTable>(IMobileServiceTableQuery<TTable>, Int32)

Crée une nouvelle collection basée sur la requête.

ToCollectionAsync<TTable>(IMobileServiceSyncTable<TTable>, Int32)

Créez une collection basée sur la table locale.

ToCollectionAsync<TTable>(IMobileServiceTable<TTable>, Int32)

Crée une nouvelle collection basée sur la table.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<TTable,TTable>> ToCollectionAsync<TTable> (this Microsoft.WindowsAzure.MobileServices.IMobileServiceTable<TTable> table, int pageSize = 0);
static member ToCollectionAsync : Microsoft.WindowsAzure.MobileServices.IMobileServiceTable<'able> * int -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<'able, 'able>>
<Extension()>
Public Function ToCollectionAsync(Of TTable) (table As IMobileServiceTable(Of TTable), Optional pageSize As Integer = 0) As Task(Of MobileServiceCollection(Of TTable, TTable))

Paramètres de type

TTable

Paramètres

table
IMobileServiceTable<TTable>

Table à partir de laquelle la collection doit être créée.

pageSize
Int32

Taille de page facultative.

Retours

Task<MobileServiceCollection<TTable,TTable>>

Collection.

S’applique à

ToCollectionAsync<TTable>(IMobileServiceTableQuery<TTable>, Int32)

Crée une nouvelle collection basée sur la requête.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<TTable,TTable>> ToCollectionAsync<TTable> (this Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<TTable> query, int pageSize = 0);
static member ToCollectionAsync : Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'able> * int -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<'able, 'able>>
<Extension()>
Public Function ToCollectionAsync(Of TTable) (query As IMobileServiceTableQuery(Of TTable), Optional pageSize As Integer = 0) As Task(Of MobileServiceCollection(Of TTable, TTable))

Paramètres de type

TTable

Paramètres

query
IMobileServiceTableQuery<TTable>

Requête à évaluer.

pageSize
Int32

Taille de page facultative.

Retours

Task<MobileServiceCollection<TTable,TTable>>

Collection.

S’applique à

ToCollectionAsync<TTable>(IMobileServiceSyncTable<TTable>, Int32)

Créez une collection basée sur la table locale.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<TTable,TTable>> ToCollectionAsync<TTable> (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<TTable> table, int pageSize = 0);
static member ToCollectionAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<'able> * int -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<'able, 'able>>
<Extension()>
Public Function ToCollectionAsync(Of TTable) (table As IMobileServiceSyncTable(Of TTable), Optional pageSize As Integer = 0) As Task(Of MobileServiceCollection(Of TTable, TTable))

Paramètres de type

TTable

Paramètres

table
IMobileServiceSyncTable<TTable>

Table locale à partir de laquelle créer la collection.

pageSize
Int32

Taille de page facultative.

Retours

Task<MobileServiceCollection<TTable,TTable>>

Collection.

S’applique à