Partager via


ServiceDescriptor.Equals Method

Definition

Overloads

Equals(ServiceDescriptor)

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

Equals(Object)

Determines whether the specified object is equal to the current object.

Equals(ServiceDescriptor)

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

public:
 virtual bool Equals(Microsoft::ServiceHub::Client::ServiceDescriptor ^ other);
public bool Equals (Microsoft.ServiceHub.Client.ServiceDescriptor other);
public bool Equals (Microsoft.ServiceHub.Client.ServiceDescriptor? other);
override this.Equals : Microsoft.ServiceHub.Client.ServiceDescriptor -> bool
Public Function Equals (other As ServiceDescriptor) As Boolean

Parameters

other
ServiceDescriptor

An object to compare with this object.

Returns

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

Implements

Applies to

Equals(Object)

Determines whether the specified object is equal to the current object.

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

Parameters

obj
Object

The object to compare with the current object.

Returns

true if the specified object is equal to the current object; otherwise, false.

Applies to