Edit

Share via


SqlByte.Equals Method

Definition

Performs a logical comparison to determine whether a SqlByte structure's value is equal to another object.

Overloads

Equals(SqlByte, SqlByte)

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

Equals(Object)

Compares the supplied Object parameter to the Value property of the SqlByte object.

Equals(SqlByte)

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

Equals(SqlByte, SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

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

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

Parameters

x
SqlByte

A SqlByte structure.

y
SqlByte

A SqlByte structure.

Returns

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

See also

Applies to

Equals(Object)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

Compares the supplied Object parameter to the Value property of the SqlByte 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 object is an instance of SqlByte and the two are equal; otherwise false.

See also

Applies to

Equals(SqlByte)

Source:
SQLByte.cs
Source:
SQLByte.cs
Source:
SQLByte.cs

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

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

Parameters

other
SqlByte

An instance to compare with this instance.

Returns

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

Implements

Applies to