LinkArea.LinkAreaConverter.CreateInstance Yöntem

Tanım

Nesne için bir özellik değerleri kümesi verilip bu tür bir örnek oluşturur. Bu, sabit olan ancak yine de değiştirilebilir özellikler sağlamak isteyen nesneler için kullanışlıdır.

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

Ek bağlam sağlanabilen bir tür tanımlayıcısı.

propertyValues
IDictionary

Yeni özellik değerlerinin sözlüğü. Sözlük, içinden döndürülen her özellik için bir dizi ad-değer çifti GetProperties(ITypeDescriptorContext, Object, Attribute[])içerir.

Döndürülenler

Object

Yeni oluşturulan nesne veya nesne oluşturulamadıysa null. Varsayılan uygulama null döndürür.

Şunlara uygulanır