Equality Operator

SqlString.Equality Operator (SqlString, SqlString)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlString.Equals(System.Data.SqlTypes.SqlString,System.Data.SqlTypes.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 operator ==(
	SqlString x,
	SqlString y
)

Return Value

Type: System.Data.SqlTypes.SqlBoolean

A SqlBoolean that is True if the two instances are equal or False if the two instances are not equal. If either instance of SqlString is null, the Value of the SqlBoolean will be Null.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft