Sdílet prostřednictvím


SqlFunctions.Difference(String, String) Metoda

Definice

Vrátí celočíselnou hodnotu, která označuje rozdíl mezi hodnotami SOUNDEX dvou znakových výrazů.

[System.Data.Entity.DbFunction("SqlServer", "DIFFERENCE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="string2")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId="string")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="string1")]
public static Nullable<int> Difference(string string1, string string2);
static member Difference : string * string -> Nullable<int>
Public Shared Function Difference (string1 As String, string2 As String) As Nullable(Of Integer)

Parametry

string1
String

První řetězec.

string2
String

Druhý řetězec.

Návraty

Rozdíl SOUNDEX mezi dvěma řetězci.

Atributy

Platí pro