 | ReflectionUtilsStringToTypedValueT Method (String, CultureInfo) |
Generic version allow for automatic type conversion without the explicit type
parameter
Namespace:
Koden.Utils
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static T StringToTypedValue<T>(
string sourceString,
CultureInfo culture
)
Public Shared Function StringToTypedValue(Of T) (
sourceString As String,
culture As CultureInfo
) As T
public:
generic<typename T>
static T StringToTypedValue(
String^ sourceString,
CultureInfo^ culture
)
static member StringToTypedValue :
sourceString : string *
culture : CultureInfo -> 'T
Parameters
- sourceString
- Type: SystemString
input string value to be converted - culture
- Type: System.GlobalizationCultureInfo
Culture applied to conversion
Type Parameters
- T
- Type to be converted to
Return Value
Type:
T[Missing <returns> documentation for "M:Koden.Utils.ReflectionUtils.StringToTypedValue``1(System.String,System.Globalization.CultureInfo)"]
See Also