新しいコレクションをインスタンス化して返します。
名前空間: Microsoft.MasterDataServices.Services.DataContracts
アセンブリ: Microsoft.MasterDataServices.Services.Contracts (Microsoft.MasterDataServices.Services.Contracts.dll)
構文
'宣言
Protected Shared Function GetNewCollection(Of T) As Collection(Of T)
'使用
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 は汎用の型およびメソッドをサポートしていません。
型パラメーター
- T
コレクション内のオブジェクトの種類です。
戻り値
型: System.Collections.ObjectModel.Collection<T>
新しいコレクションです。