CngAlgorithmGroup.Equality(CngAlgorithmGroup, CngAlgorithmGroup) 運算子
本文內容
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷兩個 CngAlgorithmGroup 物件是否指定相同的演算法群組。
public:
static bool operator ==(System::Security::Cryptography::CngAlgorithmGroup ^ left, System::Security::Cryptography::CngAlgorithmGroup ^ right);
public static bool operator ==(System.Security.Cryptography.CngAlgorithmGroup? left, System.Security.Cryptography.CngAlgorithmGroup? right);
public static bool operator ==(System.Security.Cryptography.CngAlgorithmGroup left, System.Security.Cryptography.CngAlgorithmGroup right);
static member ( = ) : System.Security.Cryptography.CngAlgorithmGroup * System.Security.Cryptography.CngAlgorithmGroup -> bool
Public Shared Operator == (left As CngAlgorithmGroup, right As CngAlgorithmGroup) As Boolean
- left
- CngAlgorithmGroup
指定演算法群組的物件。
- right
- CngAlgorithmGroup
另一個物件,要與 left
參數所識別的物件比較。
如果兩個物件指定相同的演算法群組,則為 true
,否則為 false
。
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, 6, 7, 8, 9, 10 |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided), 2.1 (package-provided) |
Windows Desktop | 3.0, 3.1, 5 |