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

一个有效的字符串。

返回

输入字符串中第一个字符的字符代码。

属性

适用于