MouseActionConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) MouseActionConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) MouseActionConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) MouseActionConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Method

Definición

Intenta convertir una instancia de MouseAction en el tipo especificado usando el contexto indicado.Attempts to convert a MouseAction to the specified type, using the specified context.

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

Parámetros

context
ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext

Contexto de formato que proporciona información sobre el entorno desde el que se invoca este convertidor.A format context that provides information about the environment from which this converter is being invoked.

culture
CultureInfo CultureInfo CultureInfo CultureInfo

Información específica de la referencia cultural.Culture specific information.

value
Object Object Object Object

Objeto que se va a convertir.The object to convert.

destinationType
Type Type Type Type

Tipo en el que se va a convertir el objeto.The type to convert the object to.

Devoluciones

El objeto convertido.The converted object.

Excepciones

value no se puede convertir.value cannot be converted.

Comentarios

destinationTypedebe ser String.destinationType must be String.

Se aplica a