SqlString.Equals Method
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.
Performs a logical comparison of two structures to determine whether they are equal.
Equals(SqlString, SqlString) |
Performs a logical comparison of the two SqlString operands to determine whether they are equal. |
Equals(SqlString) |
Indicates whether the current instance is equal to another instance of the same type. |
Equals(Object) |
Compares the supplied object parameter to the Value property of the SqlString object. |
- Source:
- SQLString.cs
- Source:
- SQLString.cs
- Source:
- SQLString.cs
Performs a logical comparison of the two SqlString operands to determine whether they are equal.
public:
static System::Data::SqlTypes::SqlBoolean Equals(System::Data::SqlTypes::SqlString x, System::Data::SqlTypes::SqlString y);
public static System.Data.SqlTypes.SqlBoolean Equals(System.Data.SqlTypes.SqlString x, System.Data.SqlTypes.SqlString y);
static member Equals : System.Data.SqlTypes.SqlString * System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlBoolean
Public Shared Function Equals (x As SqlString, y As SqlString) As SqlBoolean
Parameters
Returns
true
if the two values are equal. Otherwise, false
. If either instance is null, then the SqlString
will be null.
See also
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLString.cs
- Source:
- SQLString.cs
- Source:
- SQLString.cs
Indicates whether the current instance is equal to another instance of the same type.
public:
virtual bool Equals(System::Data::SqlTypes::SqlString other);
public bool Equals(System.Data.SqlTypes.SqlString other);
override this.Equals : System.Data.SqlTypes.SqlString -> bool
Public Function Equals (other As SqlString) As Boolean
Parameters
- other
- SqlString
An instance to compare with this instance.
Returns
true
if the current instance is equal to the other instance; otherwise, false
.
Implements
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | 7, 8, 9, 10 |
- Source:
- SQLString.cs
- Source:
- SQLString.cs
- Source:
- SQLString.cs
public:
override bool Equals(System::Object ^ value);
public override bool Equals(object? value);
public override bool Equals(object value);
override this.Equals : obj -> bool
Public Overrides Function Equals (value As Object) As Boolean
Parameters
- value
- Object
The object to be compared.
Returns
true
if the object is an instance of SqlString and the two are equal; otherwise, false
.
See also
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: