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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om