Share via


CngProperty.Inequality(CngProperty, CngProperty) Opérateur

Définition

Détermine si deux objets CngProperty ne spécifient pas 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 op_Inequality : 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 ne spécifient pas 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 de manière respectant la casse.

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

S’applique à