SqlFunctions.Space(Nullable<Int32>) Método
Definição
Retorna uma cadeia de caracteres de espaços repetidos.Returns a string of repeated spaces.
public:
static System::String ^ Space(Nullable<int> arg1);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "SPACE")]
public static string Space (int? arg1);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "SPACE")>]
static member Space : Nullable<int> -> string
Public Shared Function Space (arg1 As Nullable(Of Integer)) As String
Parâmetros
O número de espaços.The number of spaces. Se for negativo, será retornada uma cadeia de caracteres nula.If negative, a null string is returned.
Retornos
Uma cadeia de caracteres composta pelo número de espaços especificado.A string that consists of the specified number of spaces.
- 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 Space (Transact-SQL).For information about the corresponding SQL Server function, see SPACE (Transact-SQL).