SqlBoolean.GreaterThan 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.SqlBoolean.Compare(System.Data.SqlTypes.SqlBoolean,System.Data.SqlTypes.SqlBoolean)

Compares two SqlBoolean structures to determine whether the first is greater than the second.

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 first instance is greater than the second instance; otherwise, false.

If either instance of x or y is null, the value of the SqlBoolean will be null.

.NET Framework
Available since 2.0
Return to top
Show: