Método DataContractBase.GetNewCollection<T>
Instantiates and returns a new collection.
Namespace: Microsoft.MasterDataServices.Services.DataContracts
Assembly: Microsoft.MasterDataServices.Services.Contracts (em Microsoft.MasterDataServices.Services.Contracts.dll)
Sintaxe
'Declaração
Protected Shared Function GetNewCollection(Of T) As Collection(Of T)
'Uso
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 não dá suporte a tipos e métodos genéricos.
Parâmetros de tipo
- T
The type of the object inside the collection.
Valor de retorno
Tipo: System.Collections.ObjectModel.Collection<T>
A new collection.
Consulte também
Referência
Namespace Microsoft.MasterDataServices.Services.DataContracts