Udostępnij przez


Metoda ConvertToIntWithCheck

Konwertuje ciąg określony liczbą całkowitą.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Syntax

'Deklaracja
Protected Shared Function ConvertToIntWithCheck ( _
    value As String _
) As Integer
'Użycie
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

Parameters

Wartość zwracana

Typ: System. . :: . .Int32
A Int32 wartość obiektu, który określa wynik konwersji.

Uwagi

Pozwala utworzyć węzeł filtr oparty na obiekt lub grupę obiektów, które są zdefiniowane przez węzeł wyrażenie.

Przykłady

C#

FilterNode fnode = node.ExpressionNode.ConvertToFilterNode();