SqlString.Equals Method (SqlString, SqlString)


Performs a logical comparison of the two SqlString operands to determine whether they are equal.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static SqlBoolean Equals(
	SqlString x,
	SqlString y

Return Value

Type: System.Data.SqlTypes.SqlBoolean

true if the two values are equal. Otherwise, false. If either instance is null, then the SqlString will be null.

.NET Framework
Available since 1.1
Return to top