Méthode DataContractBase.GetNewCollection<T>
Instantiates and returns a new collection.
Espace de noms : Microsoft.MasterDataServices.Services.DataContracts
Assembly : Microsoft.MasterDataServices.Services.Contracts (en Microsoft.MasterDataServices.Services.Contracts.dll)
Syntaxe
'Déclaration
Protected Shared Function GetNewCollection(Of T) As Collection(Of T)
'Utilisation
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 ne prend pas en charge les types et les méthodes génériques.
Paramètres de type
- T
The type of the object inside the collection.
Valeur de retour
Type : System.Collections.ObjectModel.Collection<T>
A new collection.
Voir aussi
Référence
Espace de noms Microsoft.MasterDataServices.Services.DataContracts