Click or drag to resize

ValuePropertyConvertStringValue Method

Converts a string value to a value of a type matching the provided PropertyDataType. The string value must be convertible. May return null.

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public static Object ConvertStringValue(
	string value,
	PropertyDataType dataType
)

Parameters

value
Type: SystemString
String value to convert. Must not be null.
dataType
Type: Omada.OE.ModelPropertyDataType
Data type for the value property which the string must be converted to.

Return Value

Type: Object
See Also