Idioma

KeySplineConverter.ConvertTo Método

Definição

Tenta converter a KeySpline para um tipo especificado.

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

Parâmetros

context
ITypeDescriptorContext

Fornece a informação contextual necessária para a conversão.

cultureInfo
CultureInfo

Informação cultural a respeitar durante a conversão.

value
Object

O KeySpline para converter.

destinationType
Type

O tipo para converter isto KeySpline .

Devoluções

O objeto criado a partir da conversão deste KeySpline.

Atributos

Exceções

value é null ou não é um KeySpline, ou destinationType não é um dos tipos válidos para conversão.

Observações

Para determinar se uma conversão é possível sem efetivamente realizá-la, use o CanConvertTo método.

Aplica-se a