ExpressionNode.ConvertFromString(String, String) Méthode

Définition

Convertit la chaîne en objet de type spécifié. Le type doit être pris en charge. Non pris en chargeTypeException levée dans le cas contraire. Intercepte FormatException et lève 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

Paramètres

stringObjType
String
stringValue
String

Retours

Exceptions

S’applique à