DataGridLengthConverter.ConvertTo Yöntem

Tanım

Sınıfının bir örneğini DataGridLength belirtilen türün bir örneğine dönüştürür.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);
[System.Security.SecurityCritical]
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);
[<System.Security.SecurityCritical>]
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
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 bağlamı sağlayan bir nesne.

culture
CultureInfo

Geçerli kültür olarak kullanılacak nesne.

value
Object

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

destinationType
Type

Değerin dönüştürülecek tür.

Döndürülenler

Dönüştürülen değer.

Öznitelikler

Özel durumlar

destinationType, null değeridir.

valueDataGridLengthdestinationType veya geçerli bir dönüştürme türü değil.

Şunlara uygulanır