CodeAccessPermission.GetHashCode Méthode

Définition

Obtient un code de hachage pour l’objet CodeAccessPermission qui peut être utilisé dans des structures de données et des algorithmes de hachage, comme une table de hachage.

public:
 override int GetHashCode();
public override int GetHashCode ();
[System.Runtime.InteropServices.ComVisible(false)]
public override int GetHashCode ();
override this.GetHashCode : unit -> int
[<System.Runtime.InteropServices.ComVisible(false)>]
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Retours

Code de hachage pour l’objet CodeAccessPermission actuel.

Attributs

Remarques

Le code de hachage de deux instances de la même autorisation peut être différent. Par conséquent, un code de hachage ne doit pas être utilisé pour comparer deux CodeAccessPermission objets.

S’applique à