CngProperty.Equality(CngProperty, CngProperty) Operatore

Definizione

Determina se due oggetti CngProperty specificano lo stesso nome della proprietà, lo stesso valore e le stesse opzioni.

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

Parametri

left
CngProperty

Oggetto che specifica una proprietà di un provider o di una chiave CNG (Cryptography Next Generation).

right
CngProperty

Secondo oggetto, da confrontare con l'oggetto identificato dal parametro left.

Restituisce

Boolean

true se i due oggetti specificano la stessa proprietà; in caso contrario, false.

Commenti

CngProperty gli oggetti vengono considerati uguali se i nomi, i valori e le opzioni sono equivalenti. Il confronto tra nomi viene eseguito in modo distinzione tra maiuscole e minuscole.

Il metodo equivalente per questo operatore è CngProperty.Equals(CngProperty).

Si applica a