ExpressionNode.ConvertToIntWithCheck(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将字符串转换为整数。 捕获 FormatException 并引发 TypeConversionException。
protected static int ConvertToIntWithCheck(string value);
static member ConvertToIntWithCheck : string -> int
Protected Shared Function ConvertToIntWithCheck (value As String) As Integer
参数
- value
- String