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.

适用于