ConversionHelper.ConvertFromString Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Overloads

ConvertFromString(String, Type) Converts the specified text to an object.
ConvertFromString(String) Converts the specified text to an object.

ConvertFromString(String, Type)

Converts the specified text to an object.

public static object ConvertFromString(string value, Type type)

Parameters

value
System.String
type
System.Type

Returns

System.Object

An object of type type, or null.

ConvertFromString(String)

Converts the specified text to an object.

public static T ConvertFromString(string value)

Parameters

value
System.String

Returns

System.Object

An object that represents the converted text.