SqlDecimal.Equals Method (Object)


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

Compares the supplied Object parameter to the Value property of the SqlDecimal instance.

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

public override bool Equals(
	object value


Type: System.Object

The Object to be compared.

Return Value

Type: System.Boolean

true if object is an instance of SqlDecimal and the two are equal. Otherwise, false.

.NET Framework
Available since 1.1
Return to top