HashAlgorithmName.Equality(HashAlgorithmName, HashAlgorithmName) 運算子

定義

判斷兩個指定 HashAlgorithmName 物件是否相等。

public:
 static bool operator ==(System::Security::Cryptography::HashAlgorithmName left, System::Security::Cryptography::HashAlgorithmName right);
public static bool operator ==(System.Security.Cryptography.HashAlgorithmName left, System.Security.Cryptography.HashAlgorithmName right);
static member ( = ) : System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.HashAlgorithmName -> bool
Public Shared Operator == (left As HashAlgorithmName, right As HashAlgorithmName) As Boolean

參數

left
HashAlgorithmName

第一個比較的對象。

right
HashAlgorithmName

第二個比較物件。

傳回

trueleftright 值相同Name;否則 。 false

備註

Equality 方法定義了等式運算子對值的 HashAlgorithmName 操作。

適用於