Dela via


CollectionModelBinder<TElement>.CreateInstance(Type) Method

Definition

Create an instance of 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

Parameters

targetType
Type

Type of the model.

Returns

An instance of targetType.

Applies to