共用方式為


CngAlgorithm.Inequality(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 op_Inequality : 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

適用於