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

参数

返回值

类型: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();