SqlParameter.CompareInfo Property

Definition

Gets or sets the CompareInfo object that defines how string comparisons should be performed for this parameter.

C#
[System.ComponentModel.Browsable(false)]
public System.Data.SqlTypes.SqlCompareOptions CompareInfo { get; set; }
C#
public System.Data.SqlTypes.SqlCompareOptions CompareInfo { get; set; }

Property Value

A CompareInfo object that defines string comparison for this parameter.

Attributes

Applies to

Product Versions
SqlClient .NET Core 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Framework 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Standard 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2