System::ComponentModel::TypeConverter::ConvertFromString method

TypeConverter::ConvertFromString(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::ConvertFromString(const System::SharedPtr<ITypeDescriptorContext> &context, const System::SharedPtr<System::Globalization::CultureInfo> &culture, const System::String &text)
ParameterTypeDescription
contextconst System::SharedPtr<ITypeDescriptorContext>&Object conversion context information.
cultureconst System::SharedPtr<System::Globalization::CultureInfo>&Culture to use when converting objects.
textconst System::String&Value to convert.

ReturnValue

converted object.

See Also

TypeConverter::ConvertFromString(const System::SharedPtr<ITypeDescriptorContext>&, const System::String&) method

Converts string to object.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFromString(const System::SharedPtr<ITypeDescriptorContext> &context, const System::String &text)
ParameterTypeDescription
contextconst System::SharedPtr<ITypeDescriptorContext>&Object conversion context information.
textconst System::String&Value to convert.

ReturnValue

converted object.

See Also

TypeConverter::ConvertFromString(const System::String&) method

Converts string to object.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFromString(const System::String &text)
ParameterTypeDescription
textconst System::String&Value to convert.

ReturnValue

converted object.

See Also