Método System::Drawing::FontConverter::ConvertTo

FontConverter::ConvertTo(const System::SharedPtr<ComponentModel::ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) method

Convierte el objeto a un tipo específico.

System::SharedPtr<System::Object> System::Drawing::FontConverter::ConvertTo(const System::SharedPtr<ComponentModel::ITypeDescriptorContext> &context, const System::SharedPtr<System::Globalization::CultureInfo> &culture, const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType) override
ParámetroTipoDescripción
contextconst System::SharedPtr<ComponentModel::ITypeDescriptorContext>&Object información del contexto de conversión.
culturaconst System::SharedPtr<System::Globalization::CultureInfo>&Cultura a usar al convertir objetos.
valueconst System::SharedPtr<System::Object>&Un objeto a convertir.
destinationTypeconst System::TypeInfo&Tipo al que convertir.

ReturnValue

Objeto convertido.

Ver también

FontConverter::ConvertTo(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) method

Convierte el objeto a un tipo específico.

virtual System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertTo(const System::SharedPtr<ITypeDescriptorContext> &context, const System::SharedPtr<System::Globalization::CultureInfo> &culture, const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType)
ParámetroTipoDescripción
contextconst System::SharedPtr<ITypeDescriptorContext>&Object información del contexto de conversión.
culturaconst System::SharedPtr<System::Globalization::CultureInfo>&Cultura a usar al convertir objetos.
valueconst System::SharedPtr<System::Object>&Object para convertir.
destinationTypeconst System::TypeInfo&Tipo al que convertir.

ReturnValue

Objeto convertido.

Ver también

FontConverter::ConvertTo(const System::SharedPtr<System::Object>&, const System::TypeInfo&) method

Convierte el objeto a un tipo específico.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertTo(const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType)
ParámetroTipoDescripción
valueconst System::SharedPtr<System::Object>&Object para convertir.
destinationTypeconst System::TypeInfo&Tipo al que convertir.

ReturnValue

Objeto convertido.

Ver también