Share via


CngProperty.Equality(CngProperty, CngProperty) Opérateur

Définition

Détermine si deux objets CngProperty spécifient les mêmes noms, valeurs et options de propriété.

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

Paramètres

left
CngProperty

Un objet qui spécifie une propriété d'une clé CNG (Cryptography Next Generation) ou d'un fournisseur.

right
CngProperty

Second objet, à comparer avec l'objet identifié par le paramètre left.

Retours

true si les deux objets spécifient la même propriété ; sinon, false.

Remarques

CngProperty Les objets sont considérés comme égaux si leurs noms, valeurs et options sont équivalents. La comparaison de noms est effectuée en respectant la casse.

La méthode équivalente pour cet opérateur est CngProperty.Equals(CngProperty).

S’applique à