CollectionModelBinder<TElement>.CanCreateInstance(Type) Metodo

Definizione

Ottiene un'indicazione se questa ICollectionModelBinder implementazione può creare un Object oggetto assegnabile a targetType.

public:
 virtual bool CanCreateInstance(Type ^ targetType);
public virtual bool CanCreateInstance (Type targetType);
abstract member CanCreateInstance : Type -> bool
override this.CanCreateInstance : Type -> bool
Public Overridable Function CanCreateInstance (targetType As Type) As Boolean

Parametri

targetType
Type

Type del modello.

Restituisce

true se questa ICollectionModelBinder implementazione può creare un Object oggetto assegnabile a targetType; false in caso contrario.

Implementazioni

Si applica a