DataContractBase.GetNewCollection<T> Method
Instantiates and returns a new collection.
Namespace: Microsoft.MasterDataServices.Services.DataContracts
Assembly: Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)
Syntax
'Declaration
Protected Shared Function GetNewCollection(Of T) As Collection(Of T)
'Usage
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 does not support generic types and methods.
Type Parameters
- T
The type of the object inside the collection.
Return Value
Type: System.Collections.ObjectModel.Collection<T>
A new collection.
See Also
Reference
Microsoft.MasterDataServices.Services.DataContracts Namespace