SqlString.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 SqlString object.

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

Equals will return true if the object is an instance of SqlString and the two are equal; otherwise false.

.NET Framework
Available since 1.1
Return to top