Language

CollectionModelBinder<TElement>.CreateEmptyCollection(Type) メソッド

定義

に Object 割り当て可能な を作成します targetType。

protected:
 virtual System::Object ^ CreateEmptyCollection(Type ^ targetType);
protected virtual object CreateEmptyCollection(Type targetType);
abstract member CreateEmptyCollection : Type -> obj
override this.CreateEmptyCollection : Type -> obj
Protected Overridable Function CreateEmptyCollection (targetType As Type) As Object

パラメーター

targetType
Type

Type モデルの。

返品

ObjectにtargetType割り当て可能な 。

注釈

最上位バインドの既定の "空" モデルを作成するときに呼び出されます。

適用対象