语言

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 代码。

特性

适用于