共用方式為


SqlFunctions.Char(Nullable<Int32>) 方法

定義

傳回對應到特定整數 ASCII 值的字元。

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

參數

arg
Nullable<Int32>

ASCII 碼。

傳回

對應到特定整數 ASCII 值的字元。

屬性

備註

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

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

適用於