語言

CngProperty.Inequality(CngProperty, CngProperty) 運算子

定義

判斷兩個 CngProperty 物件是否指定相同的屬性名稱、值與選項。

public:
 static bool operator !=(System::Security::Cryptography::CngProperty left, System::Security::Cryptography::CngProperty right);
public static bool operator !=(System.Security.Cryptography.CngProperty left, System.Security.Cryptography.CngProperty right);
static member op_Inequality : System.Security.Cryptography.CngProperty * System.Security.Cryptography.CngProperty -> bool
Public Shared Operator != (left As CngProperty, right As CngProperty) As Boolean

參數

left
CngProperty

指定密碼學下一代(CNG)金鑰或提供者屬性的物件。

right
CngProperty

第二個物件,與由 left 參數識別的物件比較。

傳回

true如果兩個物件不指定相同的性質;否則,。 false

備註

CngProperty 若物件的名稱、值與選項等價,則視為相等。 名稱比較以大小寫區分方式進行。

此運算子 CngProperty.Equals(CngProperty)的等價方法是 。

適用於