HashAlgorithmName.Equals Method

Definition

Returns a value that indicates whether two HashAlgorithmName values are equal.

Overloads

Equals(Object)

Returns a value that indicates whether the current instance and a specified object are equal.

Equals(HashAlgorithmName)

Returns a value that indicates whether two HashAlgorithmName instances are equal.

Equals(Object)

Returns a value that indicates whether the current instance and a specified object are equal.

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 instance.

Returns

true if obj is a HashAlgorithmName object and its Name property is equal to that of the current instance. The comparison is ordinal and case-sensitive.

Applies to

Equals(HashAlgorithmName)

Returns a value that indicates whether two HashAlgorithmName instances are equal.

public:
 virtual bool Equals(System::Security::Cryptography::HashAlgorithmName other);
public bool Equals (System.Security.Cryptography.HashAlgorithmName other);
override this.Equals : System.Security.Cryptography.HashAlgorithmName -> bool
Public Function Equals (other As HashAlgorithmName) As Boolean

Parameters

other
HashAlgorithmName

The object to compare with the current instance.

Returns

true if the Name property of other is equal to that of the current instance. The comparison is ordinal and case-sensitive.

Implements

Applies to