ColumnHeaderConverter.ConvertTo Yöntem

Tanım

Belirtilen bağlam ve kültür bilgilerini kullanarak belirtilen nesneyi belirtilen türe dönüştürür.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
public override object? ConvertTo (System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, Type destinationType);
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (context As ITypeDescriptorContext, culture As CultureInfo, value As Object, destinationType As Type) As Object

Parametreler

context
ITypeDescriptorContext

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

culture
CultureInfo

Dil CultureInfo ve takvim sistemi gibi bir kültür hakkındaki bilgileri temsil eden bir. olabilir null.

value
Object

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

destinationType
Type

dönüştürülecek Type .

Döndürülenler

Object

Dönüştürmenin Object sonucudur.

Özel durumlar

Dönüştürme gerçekleştirilemiyor.

Şunlara uygulanır