共用方式為


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 碼。

屬性

適用於