Condividi tramite


Metodo DataContractBase.GetNewCollection<T>

Instantiates and returns a new collection.

Spazio dei nomi  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Sintassi

'Dichiarazione
Protected Shared Function GetNewCollection(Of T) As Collection(Of T)
'Utilizzo
Dim returnValue As Collection(Of T)

returnValue = DataContractBase.GetNewCollection()
protected static Collection<T> GetNewCollection<T>()
protected:
generic<typename T>
static Collection<T>^ GetNewCollection()
static member GetNewCollection : unit -> Collection<'T> 
JScript non supporta i metodi e i tipi generici.

Parametri di tipo

  • T
    The type of the object inside the collection.

Valore restituito

Tipo: System.Collections.ObjectModel.Collection<T>
A new collection.

Vedere anche

Riferimento

DataContractBase Classe

Spazio dei nomi Microsoft.MasterDataServices.Services.DataContracts