ExpressionNode.ConvertToIntWithCheck(String) 方法

定义

将字符串转换为整数。 捕获 FormatException 并引发 TypeConversionException。

protected static int ConvertToIntWithCheck(string value);
static member ConvertToIntWithCheck : string -> int
Protected Shared Function ConvertToIntWithCheck (value As String) As Integer

参数

value
String

返回

例外

适用于