共用方式為


SqlFunctions.Unicode(String) 方法

定義

依照 Unicode 標準所定義,傳回輸入運算式第一個字元的整數值。

[System.Data.Entity.DbFunction("SqlServer", "UNICODE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg")]
public static Nullable<int> Unicode(string arg);
static member Unicode : string -> Nullable<int>
Public Shared Function Unicode (arg As String) As Nullable(Of Integer)

參數

arg
String

有效的字串。

傳回

輸入字串中第一個字元的字元碼。

屬性

適用於