DataContractBase.GetNewCollection<T> 方法

Instantiates and returns a new collection.

命名空间:  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
    The type of the object inside the collection.

返回值

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

请参阅

参考

DataContractBase 类

Microsoft.MasterDataServices.Services.DataContracts 命名空间