CngProperty.Equality(CngProperty, CngProperty) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷兩個 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 ( = ) : 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)的等價方法是 。