SqlFunctions.Space(Nullable<Int32>) Method

Definition

Returns a string of repeated spaces.

[System.Data.Entity.DbFunction("SqlServer", "SPACE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg1")]
public static string Space (Nullable<int> arg1);
static member Space : Nullable<int> -> string
Public Shared Function Space (arg1 As Nullable(Of Integer)) As String

Parameters

arg1
Nullable<Int32>

The number of spaces. If negative, a null string is returned.

Returns

A string that consists of the specified number of spaces.

Attributes

Applies to