共用方式為


ExpressionNode.ConvertFromString(String, String) Method

Definition

Converts string to an object of specified type. Type must be supported. UnsupportedTypeException thrown otherwise. Catches FormatException and throws TypeConversionException.

protected static object ConvertFromString (string stringObjType, string stringValue);
static member ConvertFromString : string * string -> obj
Protected Shared Function ConvertFromString (stringObjType As String, stringValue As String) As Object

Parameters

stringObjType
String
stringValue
String

Returns

Exceptions

Applies to