System::Drawing::ImageFormatConverter::ConvertTo method

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

Converteert object naar een specifiek type.

SharedPtr<Object> System::Drawing::ImageFormatConverter::ConvertTo(const SharedPtr<ComponentModel::ITypeDescriptorContext> &context, const SharedPtr<Globalization::CultureInfo> &culture, const SharedPtr<Object> &value, const TypeInfo &destinationType) override
ParameterTypeBeschrijving
contextconst SharedPtr<ComponentModel::ITypeDescriptorContext>&Object conversiecontextinformatie.
cultuurconst SharedPtr<Globalization::CultureInfo>&Cultuur die gebruikt moet worden bij het converteren van objecten.
valueconst SharedPtr<Object>&Object om te converteren.
destinationTypeconst TypeInfo&Type om naar te converteren.

ReturnValue

Geconverteerd object.

Zie ook

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

Converteert object naar een specifiek type.

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)
ParameterTypeBeschrijving
contextconst System::SharedPtr<ITypeDescriptorContext>&Object conversiecontextinformatie.
cultuurconst System::SharedPtr<System::Globalization::CultureInfo>&Cultuur die gebruikt moet worden bij het converteren van objecten.
valueconst System::SharedPtr<System::Object>&Object om te converteren.
destinationTypeconst System::TypeInfo&Type om naar te converteren.

ReturnValue

Geconverteerd object.

Zie ook

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

Converteert object naar een specifiek type.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertTo(const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType)
ParameterTypeBeschrijving
valueconst System::SharedPtr<System::Object>&Object om te converteren.
destinationTypeconst System::TypeInfo&Type om naar te converteren.

ReturnValue

Geconverteerd object.

Zie ook