RibbonControlLengthConverter.ConvertTo Método

Definição

Converte uma instância da RibbonControlLength estrutura numa instância do tipo especificado.

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

Um objeto que fornece um contexto de formato.

culture
CultureInfo

O objeto a usar como cultura atual.

value
Object

O RibbonControlLength para converter.

destinationType
Type

O tipo para converter o valor.

Devoluções

O valor convertido.

Exceções

destinationType é null.

value não é um RibbonControlLength.

-ou-

destinationType não é um tipo de conversão válido.

Aplica-se a