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 對 Entities 查詢中。

這個函式會被轉換成資料庫中的對應函式。 關於對應SQL Server函數的資訊,請參見 NCHAR (Transact-SQL)

適用於