Edit

Share via


SqlFunctions.Char(Nullable<Int32>) Method

Definition

Returns the character that corresponds to the specified integer ASCII value.

public:
 static System::String ^ Char(Nullable<int> arg);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "CHAR")]
public static string Char (int? arg);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "CHAR")>]
static member Char : Nullable<int> -> string
Public Shared Function Char (arg As Nullable(Of Integer)) As String

Parameters

arg
Nullable<Int32>

An ASCII code.

Returns

The character that corresponds to the specified ASCII value.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see CHAR (Transact-SQL).

Applies to