SqlBoolean.Equality Operator (SqlBoolean, SqlBoolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

equivalentCodeEntityM:System.Data.SqlTypes.SqlString.Equals(System.Data.SqlTypes.SqlString,System.Data.SqlTypes.SqlString)

Compares two instances of SqlBoolean for equality.

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

public static SqlBoolean operator ==(
	SqlBoolean x,
	SqlBoolean 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 SqlBoolean is null, the Value of the SqlBoolean will be Null.

.NET Framework
Available since 1.1
Return to top
Show: