Partager via


SqliteConnection.CreateCollation Méthode

Définition

Surcharges

CreateCollation(String, Comparison<String>)

Créez un classement personnalisé.

CreateCollation<T>(String, T, Func<T,String,String,Int32>)

Créez un classement personnalisé.

CreateCollation(String, Comparison<String>)

Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs

Créez un classement personnalisé.

public virtual void CreateCollation (string name, Comparison<string> comparison);
public virtual void CreateCollation (string name, Comparison<string>? comparison);
abstract member CreateCollation : string * Comparison<string> -> unit
override this.CreateCollation : string * Comparison<string> -> unit
Public Overridable Sub CreateCollation (name As String, comparison As Comparison(Of String))

Paramètres

name
String

Nom du classement.

comparison
Comparison<String>

Méthode qui compare deux chaînes.

S’applique à

CreateCollation<T>(String, T, Func<T,String,String,Int32>)

Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs
Source:
SqliteConnection.cs

Créez un classement personnalisé.

public virtual void CreateCollation<T> (string name, T state, Func<T,string,string,int> comparison);
public virtual void CreateCollation<T> (string name, T state, Func<T,string,string,int>? comparison);
abstract member CreateCollation : string * 'T * Func<'T, string, string, int> -> unit
override this.CreateCollation : string * 'T * Func<'T, string, string, int> -> unit
Public Overridable Sub CreateCollation(Of T) (name As String, state As T, comparison As Func(Of T, String, String, Integer))

Paramètres de type

T

Type de l’objet d’état.

Paramètres

name
String

Nom du classement.

state
T

Objet d’état passé à chaque appel du classement.

comparison
Func<T,String,String,Int32>

Méthode qui compare deux chaînes à l’aide d’un état supplémentaire.

S’applique à