ConvertFromInvariantString()

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

Converts invariant string to object.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFromInvariantString(const System::String &text)

Arguments

ParameterTypeDescription
textconst System::String&Value to convert.

Return Value

converted object.

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

Converts invariant string to object.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertFromInvariantString(const System::SharedPtr<ITypeDescriptorContext> &context, const System::String &text)

Arguments

ParameterTypeDescription
contextconst System::SharedPtr<ITypeDescriptorContext>&Object conversion context information.
textconst System::String&Value to convert.

Return Value

converted object.

See Also