DictionaryModelBinder<TKey,TValue>.CanCreateInstance(Type) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bu ICollectionModelBinder uygulamanın için atanabilir targetType
oluşturup oluşturamayacağını gösteren bir Object gösterge alır.
public:
override bool CanCreateInstance(Type ^ targetType);
public override bool CanCreateInstance (Type targetType);
override this.CanCreateInstance : Type -> bool
Public Overrides Function CanCreateInstance (targetType As Type) As Boolean
Parametreler
Döndürülenler
true
bu ICollectionModelBinder uygulama için atanabilir targetType
bir Object oluşturabiliyorsa; false
aksi takdirde.