共用方式為


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

要比較的第二個物件。

傳回

如果 leftrightName 值相同則為 true;否則為 false

備註

方法 Equality 會定義值的等號比較運算子運算 HashAlgorithmName

適用於