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 参数标识的对象进行比较的另一个对象。

返回

Boolean

如果两个对象未指定相同的算法,则为 true;否则为 false

适用于