System::ComponentModel::TypeConverter::ConvertFrom method

TypeConverter::ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) method

Converts objects.

virtual System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFrom(const System::SharedPtr<ITypeDescriptorContext> &context, const System::SharedPtr<System::Globalization::CultureInfo> &culture, const System::SharedPtr<System::Object> &value)
ParameterTypeDescription
contextconst System::SharedPtr<ITypeDescriptorContext>&Object conversion context information.
cultureconst System::SharedPtr<System::Globalization::CultureInfo>&Culture to use when converting objects.
valueconst System::SharedPtr<System::Object>&Object to convert.

ReturnValue

converted object.

See Also

TypeConverter::ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&) method

Converts string to object.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFrom(const System::SharedPtr<ITypeDescriptorContext> &context, const System::SharedPtr<System::Globalization::CultureInfo> &culture, const System::String &value)
ParameterTypeDescription
contextconst System::SharedPtr<ITypeDescriptorContext>&Object conversion context information.
cultureconst System::SharedPtr<System::Globalization::CultureInfo>&Culture to use when converting objects.
valueconst System::String&Value to convert.

ReturnValue

converted object.

See Also

TypeConverter::ConvertFrom(const System::SharedPtr<System::Object>&) method

Converts objects.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFrom(const System::SharedPtr<System::Object> &value)
ParameterTypeDescription
valueconst System::SharedPtr<System::Object>&Object to convert.

ReturnValue

converted object.

See Also