Compartir a través de


DataContractBase.GetNewCollection<T> Método

Instantiates and returns a new collection.

Espacio de nombres:  Microsoft.MasterDataServices.Services.DataContracts
Ensamblado:  Microsoft.MasterDataServices.Services.Contracts (en Microsoft.MasterDataServices.Services.Contracts.dll)

Sintaxis

'Declaración
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 no admite tipos y métodos genéricos.

Parámetros de tipo

  • T
    The type of the object inside the collection.

Valor devuelto

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

Vea también

Referencia

DataContractBase Clase

Espacio de nombres Microsoft.MasterDataServices.Services.DataContracts