Metodo ExpressionNode.ConvertToIntWithCheck
Converts the specified string to an integer.
Spazio dei nomi Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Sintassi
'Dichiarazione
Protected Shared Function ConvertToIntWithCheck ( _
value As String _
) As Integer
'Utilizzo
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
Parametri
- value
Tipo: System.String
A String value that specifies the value in string format.
Valore restituito
Tipo: System.Int32
A Int32 object value that specifies the result of the conversion.
Osservazioni
This allows you to create a filter node based on the object or group of objects that are defined by the expression node.
Esempi
C#
FilterNode fnode = node.ExpressionNode.ConvertToFilterNode();