SqlFunctions.IsNumeric(String) Método
Definição
Indica se o valor de entrada é um tipo numérico válido.Indicates whether the input value is a valid numeric type.
public:
static Nullable<int> IsNumeric(System::String ^ arg);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "ISNUMERIC")]
public static int? IsNumeric (string arg);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "ISNUMERIC")>]
static member IsNumeric : string -> Nullable<int>
Public Shared Function IsNumeric (arg As String) As Nullable(Of Integer)
Parâmetros
- arg
- String
Uma expressão de cadeia de caracteres.A string expression.
Retornos
1 se a expressão de entrada for um tipo de dados numérico válido; caso contrário, 0.1 if the input expression is a valid numeric data type; otherwise, 0.
- Atributos
Comentários
Você não pode chamar essa função diretamente.You cannot call this function directly. Essa função só pode aparecer dentro de uma consulta LINQ to Entities.This function can only appear within a LINQ to Entities query.
Essa função é convertida em uma função correspondente no banco de dados.This function is translated to a corresponding function in the database. Para obter informações sobre a função de SQL Server correspondente, consulte ISNUMERIC (Transact-SQL).For information about the corresponding SQL Server function, see ISNUMERIC (Transact-SQL).