Catel.Services.ObjectConverterService.ConvertFromStringToObject C# (CSharp) Method

ConvertFromStringToObject() public method

Converts the specified string value to an object.
public ConvertFromStringToObject ( string value, Type targetType ) : object
value string The value.
targetType System.Type The target type.
return object
        public virtual object ConvertFromStringToObject(string value, Type targetType)
        {
            return ConvertFromStringToObject(value, targetType, DefaultCulture);
        }

Same methods

ObjectConverterService::ConvertFromStringToObject ( string value, Type targetType, CultureInfo culture ) : object