ExpressionNode.ConvertToIntWithCheck 方法
Converts the specified string to an integer.
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
Protected Shared Function ConvertToIntWithCheck ( _
value As String _
) As Integer
'用途
Dim value As String
Dim returnValue As Integer
returnValue = ExpressionNode.ConvertToIntWithCheck(value)
protected static int ConvertToIntWithCheck(
string value
)
protected:
static int ConvertToIntWithCheck(
String^ value
)
static member ConvertToIntWithCheck :
value:string -> int
protected static function ConvertToIntWithCheck(
value : String
) : int
參數
- value
型別:System.String
A String value that specifies the value in string format.
傳回值
型別:System.Int32
A Int32 object value that specifies the result of the conversion.
備註
This allows you to create a filter node based on the object or group of objects that are defined by the expression node.
範例
C#
FilterNode fnode = node.ExpressionNode.ConvertToFilterNode();