Edit

Share via


SqlFunctions.NChar(Nullable<Int32>) Method

Definition

Returns the Unicode character with the specified integer code, as defined by the Unicode standard.

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

Parameters

arg
Nullable<Int32>

A character code.

Returns

The character that corresponds to the input character code.

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 NCHAR (Transact-SQL).

Applies to