Aracılığıyla paylaş


CollectionModelBinder<TElement>.CreateEmptyCollection(Type) Yöntem

Tanım

için atanabilir targetTypebir Object oluşturun.

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

Parametreler

targetType
Type

Type öğesini seçin.

Döndürülenler

öğesine Object atanabilir targetType.

Açıklamalar

Üst düzey bağlama için varsayılan bir 'boş' model oluşturulurken çağrılır.

Şunlara uygulanır