Method ParseStringToValue
ParseStringToValue(string, out TValueType)
Method to implement to resolve a string value into a TValueType
value.
You can use TryParse(string, out float) for floating point value types for example.
Declaration
protected abstract bool ParseStringToValue(string strValue, out TValueType value)
Parameters
Type | Name | Description |
---|---|---|
string | strValue | The string value to convert. |
TValueType | value | The stringThe converted value. |
Returns
Type | Description |
---|---|
bool | True if can be parsed, False otherwise. |