Share via


TemplateKeyConverter.ConvertFrom Yöntem

Tanım

Belirtilen nesneyi (dize) öğesine TemplateKeydönüştürmeye çalışır.

public:
 override System::Object ^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ source);
public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object source);
override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj
Public Overrides Function ConvertFrom (context As ITypeDescriptorContext, culture As CultureInfo, source As Object) As Object

Parametreler

context
ITypeDescriptorContext

Bu dönüştürücüsü çağrılan ortam hakkında bilgi sağlayan bir biçim bağlamı.

culture
CultureInfo

Kültüre özgü bilgiler.

source
Object

Dönüştürülecek nesne.

Döndürülenler

Her zaman bir özel durum oluşturur.

Özel durumlar

source dönüştürülemez.

Açıklamalar

Bkz. içindeki TemplateKeyConverteraçıklamalar.

Şunlara uygulanır