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

傳回

例外狀況

適用於