InstanceCreationEditor.CreateInstance(ITypeDescriptorContext, Type) Metodo

Definizione

Quando sottoposto a override in una classe derivata, restituisce un'istanza del tipo specificato.

public:
 abstract System::Object ^ CreateInstance(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ instanceType);
public abstract object CreateInstance(System.ComponentModel.ITypeDescriptorContext context, Type instanceType);
abstract member CreateInstance : System.ComponentModel.ITypeDescriptorContext * Type -> obj
Public MustOverride Function CreateInstance (context As ITypeDescriptorContext, instanceType As Type) As Object

Parametri

context
ITypeDescriptorContext

Informazioni sul contesto.

instanceType
Type

Tipo specificato.

Valori restituiti

Istanza del tipo o nulldell'oggetto specificato.

Si applica a