Share via


InputScopeConverter.ConvertTo Yöntem

Tanım

Bir InputScope nesneyi belirtilen nesne türüne (dize) 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);
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

Herhangi bir tür tanımlayıcı bağlamı açıklayan bir nesne. Bu nesne arabirimini ITypeDescriptorContext uygulamalıdır. Bu parametre olabilir null.

culture
CultureInfo

CultureInfo Dönüştürme için herhangi bir kültürel bağlamı içeren bir nesne. Bu parametre olabilir null.

value
Object

Dönüştürülecek nesne. Bu nesne türünde InputScopeolmalıdır.

destinationType
Type

Türü dönüştürmek için bir hedef türü. Bu tür dize olmalıdır.

Döndürülenler

Belirtilen türden (dize) yeni bir nesne, verilen InputScope nesneden dönüştürüldü.

Açıklamalar

destinationType olmalıdır String.

Şunlara uygulanır