DynamicDOM v0.43.2. Implementation based on XRules v0.43

XPathConvert.ToType Method 

Converts the value specified by value to the type specified by type.

[Visual Basic]
Shared Public Function ToType( _ 
   ByVal value As Object, _ 
   ByVal type As Type _ 
) As Object
[C#]
public static object ToType(
   object value,
   Type type
);
[C++]
public: static Object* ToType(
   Object* value,
   Type* type
);
[JScript]
public static function ToType(
   Object value,
   Type type
): Object;

Parameters

value
The value to be converted.
type
The new type.

Return Value

The value after conversion.

See Also

XPathConvert Class | XRules.Utilities Namespace