SqlDecimal.Equals Method (SqlDecimal, SqlDecimal)

 
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.

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

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

public static SqlBoolean Equals(
	SqlDecimal x,
	SqlDecimal y
)

Return Value

Type: System.Data.SqlTypes.SqlBoolean

true if the two values are equal. Otherwise, false. If either instance is null, the value of the SqlDecimal will be null.

.NET Framework
Available since 1.1
Return to top
Show: