Bewerken

Share via


SqlGuid.Equals Method

Definition

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

Overloads

Equals(Object)

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

Equals(SqlGuid, SqlGuid)

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

Equals(SqlGuid)

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

Equals(Object)

Source:
SQLGuid.cs
Source:
SQLGuid.cs
Source:
SQLGuid.cs

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

See also

Applies to

Equals(SqlGuid, SqlGuid)

Source:
SQLGuid.cs
Source:
SQLGuid.cs
Source:
SQLGuid.cs

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

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

Parameters

x
SqlGuid

A SqlGuid structure.

y
SqlGuid

A SqlGuid structure.

Returns

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

See also

Applies to

Equals(SqlGuid)

Source:
SQLGuid.cs
Source:
SQLGuid.cs
Source:
SQLGuid.cs

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

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

Parameters

other
SqlGuid

An instance to compare with this instance.

Returns

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

Implements

Applies to