SqlSingle.Equals Method

Definition

Performs a logical comparison of two structures to determine whether they are equal.

Overloads

Equals(SqlSingle)

Indicates whether the current instance is equal to another instance of the same type.

Equals(Object)

Compares the supplied object parameter to the Value property of the SqlSingle object.

Equals(SqlSingle, SqlSingle)

Performs a logical comparison of the two SqlSingle parameters to determine whether they are equal.

Equals(SqlSingle)

Indicates whether the current instance is equal to another instance of the same type.

public:
 virtual bool Equals(System::Data::SqlTypes::SqlSingle other);
public bool Equals (System.Data.SqlTypes.SqlSingle other);
override this.Equals : System.Data.SqlTypes.SqlSingle -> bool
Public Function Equals (other As SqlSingle) As Boolean

Parameters

other
SqlSingle

An instance to compare with this instance.

Returns

true if the current instance is equal to the other instance; otherwise, false.

Implements

Applies to

Equals(Object)

Compares the supplied object parameter to the Value property of the SqlSingle object.

public:
 override bool Equals(System::Object ^ value);
public override bool Equals (object value);
public override bool Equals (object? value);
override this.Equals : obj -> bool
Public Overrides Function Equals (value As Object) As Boolean

Parameters

value
Object

The object to be compared.

Returns

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

See also

Applies to

Equals(SqlSingle, SqlSingle)

Performs a logical comparison of the two SqlSingle parameters to determine whether they are equal.

public:
 static System::Data::SqlTypes::SqlBoolean Equals(System::Data::SqlTypes::SqlSingle x, System::Data::SqlTypes::SqlSingle y);
public static System.Data.SqlTypes.SqlBoolean Equals (System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y);
static member Equals : System.Data.SqlTypes.SqlSingle * System.Data.SqlTypes.SqlSingle -> System.Data.SqlTypes.SqlBoolean
Public Shared Function Equals (x As SqlSingle, y As SqlSingle) As SqlBoolean

Parameters

x
SqlSingle

A SqlSingle structure.

y
SqlSingle

A SqlSingle structure.

Returns

true if the two values are equal. Otherwise, false. If either instance is null, then the SqlSingle will be null.

See also

Applies to