CngAlgorithm.Equality(CngAlgorithm, CngAlgorithm) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷兩個 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
。