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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈