wwUtils.StringToTypedValue

Turns a string into a typed value. Useful for auto-conversion routines like form variable or XML parsers.

public static object StringToTypedValue( string SourceString,
	Type TargetType,
	CultureInfo Culture );

Return Value

object

Parameters

SourceString
The string to convert from

TargetType
The type to convert to

Culture
Culture used for numeric and datetime values.

Overloads:


See also:

Class wwUtils

© West Wind Techologies, 2018 • Updated: 07/31/07
Comment or report problem with topic