Επεξεργασία

Κοινή χρήση μέσω


InputScopeConverter.ConvertTo Method

Definition

Converts an InputScope object into a specified object type (string).

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

Parameters

context
ITypeDescriptorContext

An object that describes any type descriptor context. This object must implement the ITypeDescriptorContext interface. This parameter may be null.

culture
CultureInfo

A CultureInfo object containing any cultural context for the conversion. This parameter may be null.

value
Object

An object to convert from. This object must be of type InputScope.

destinationType
Type

A destination type to convert type. This type must be string.

Returns

A new object of the specified type (string) converted from the given InputScope object.

Remarks

destinationType must be String.

Applies to