Compartir a través de


ConvertToIntWithCheck Método

Converts the specified string to an integer.

Espacio de nombres:  Microsoft.SqlServer.Management.Dmf
Ensamblado:  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Sintaxis

'Declaración
Protected Shared Function ConvertToIntWithCheck ( _
    value As String _
) As Integer
'Uso
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

Parámetros

Valor devuelto

Tipo: System. . :: . .Int32
A Int32 object value that specifies the result of the conversion.

Comentarios

This allows you to create a filter node based on the object or group of objects that are defined by the expression node.

Ejemplos

C#

FilterNode fnode = node.ExpressionNode.ConvertToFilterNode();