CursorConverter.ConvertTo Yöntem

Tanım

Belirtilen bağlamı kullanarak bir Cursor öğesini belirtilen türe dönüştürmeyi dener.

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);
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

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.

value
Object

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

destinationType
Type

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

Döndürülenler

Dönüştürülen nesne veya ise valuenullboş bir dize.

Özel durumlar

destinationType, null değeridir.

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

Açıklamalar

destinationType olmalıdır String.

Şunlara uygulanır