ThicknessConverter.ConvertTo Yöntem

Tanım

bir örneğini Thickness belirtilen türe dönüştürmeye çalışır.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, System::Globalization::CultureInfo ^ cultureInfo, System::Object ^ value, Type ^ destinationType);
[System.Security.SecurityCritical]
public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, System.Globalization.CultureInfo cultureInfo, object value, Type destinationType);
public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, System.Globalization.CultureInfo cultureInfo, 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 (typeDescriptorContext As ITypeDescriptorContext, cultureInfo As CultureInfo, value As Object, destinationType As Type) As Object

Parametreler

typeDescriptorContext
ITypeDescriptorContext

Bir türün bağlam bilgileri.

cultureInfo
CultureInfo

CultureInfo Dönüştürülen türün değeri.

value
Object

Dönüştürülecek örneği Thickness .

destinationType
Type

Bu örneğinin Thickness dönüştürüldüğü tür.

Döndürülenler

Tür dönüştürücü bir örneğini Thicknessdönüştürdüğünde oluşturulan tür.

Öznitelikler

Özel durumlar

value Nesne null bir başvuru (Nothing) değil ve bir Fırça değil veya destinationType dönüştürme için geçerli türlerden biri değil.

value Nesnesi null başvurudur.

Şunlara uygulanır

Ayrıca bkz.