SqlFunctions.Space Method (Nullable<Int32>)

 

Returns a string of repeated spaces.

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", 
	MessageId = "arg1")]
[DbFunctionAttribute("SqlServer", "SPACE")]
public static string Space(
	Nullable<int> arg1
)

Parameters

arg1
Type: System.Nullable<Int32>

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

Return Value

Type: System.String

A string that consists of the specified number of spaces.