共用方式為


CngAlgorithm.Equality(CngAlgorithm, CngAlgorithm) 運算子

定義

判斷兩個 CngAlgorithm 物件是否指定相同的演算法名稱。

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

參數

left
CngAlgorithm

指定演算法名稱的物件。

right
CngAlgorithm

另一個物件,要與 left 參數所識別的物件比較。

傳回

如果兩個物件指定相同的演算法名稱,則為 true,否則為 false

適用於