West Wind Application Settings for .NET |
wwUtils.StringToTypedValue
|
Turns a string into a typed value. Useful for auto-conversion routines like form variable or XML parsers.
Syntax: |
public static object StringToTypedValue( string SourceString, Type TargetType ); |
| Return: | object reference. Throws Exception if type can not be converted |
| Parameters: |
SourceString The input string to convert TargetType
|
Overloads: