共用方式為


SqlFunctions.NChar(Nullable<Int32>) 方法

定義

依照 Unicode 標準所定義,傳回含指定之整數碼的 Unicode 字元。

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

參數

arg
Nullable<Int32>

字元碼。

傳回

對應至輸入字元碼的字元。

屬性

備註

您無法直接呼叫此函式。 此函式只能出現在 LINQ to Entities 查詢內。

此函式會轉譯為資料庫中的對應函式。 如需對應 SQL Server 函式的相關信息,請參閱 NCHAR (Transact-SQL)

適用於