SearchExpression.ComparisonType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the type of string comparison to perform.
public:
property StringComparison ComparisonType { StringComparison get(); void set(StringComparison value); };
public StringComparison ComparisonType { get; set; }
member this.ComparisonType : StringComparison with get, set
Public Property ComparisonType As StringComparison
Property Value
The type of string comparison to perform.
Exceptions
The DataFields property is null
.
Remarks
This property enables you to use the StringComparison enumeration to specify how the search is performed. The StringComparison enumeration is used to specify whether a string comparison uses the current culture or the invariant culture, and whether it uses text or ordinal sort rules. If the data provider that the QueryExtender uses supports case sensitivity, you can use one of the comparison type properties to enable or ignore case sensitivity.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour