Share via


CollectionModelBinder<TElement>.CreateInstance(Type) 方法

定义

创建 targetType 的实例。

protected:
 System::Object ^ CreateInstance(Type ^ targetType);
protected object CreateInstance (Type targetType);
member this.CreateInstance : Type -> obj
Protected Function CreateInstance (targetType As Type) As Object

参数

targetType
Type

Type 模型的 。

返回

targetType 的一个实例。

适用于