ListBindingConverter.CreateInstance Yöntem

Tanım

Nesne için bir özellik değerleri kümesi verildiğinde, belirtilen bağlamı kullanarak, bunun TypeConverter ilişkili olduğu türün bir örneğini oluşturur.

public:
 override System::Object ^ CreateInstance(System::ComponentModel::ITypeDescriptorContext ^ context, System::Collections::IDictionary ^ propertyValues);
public override object CreateInstance (System.ComponentModel.ITypeDescriptorContext context, System.Collections.IDictionary propertyValues);
public override object CreateInstance (System.ComponentModel.ITypeDescriptorContext? context, System.Collections.IDictionary propertyValues);
override this.CreateInstance : System.ComponentModel.ITypeDescriptorContext * System.Collections.IDictionary -> obj
Public Overrides Function CreateInstance (context As ITypeDescriptorContext, propertyValues As IDictionary) As Object

Parametreler

context
ITypeDescriptorContext

Biçim ITypeDescriptorContext bağlamı sağlayan.

propertyValues
IDictionary

IDictionary Yeni özellik değerlerinden biri.

Döndürülenler

Object

Object Verilen IDictionaryöğesini temsil eden veya null nesne oluşturulamıyorsa. Bu yöntem her zaman döndürür null.

Şunlara uygulanır

Ayrıca bkz.