SqlFunctions.SoundCode(String) 方法

定义

将字母数字字符串转换为由四个字符组成的 (SOUNDEX) 代码,以便查找发音相似的字词或名称。

[System.Data.Entity.DbFunction("SqlServer", "SOUNDEX")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg")]
public static string SoundCode(string arg);
static member SoundCode : string -> string
Public Shared Function SoundCode (arg As String) As String

参数

arg
String

一个有效的字符串。

返回

输入字符串的 SOUNDEX 代码。

属性

适用于