Share via


OperationInfo.GetHashCode Methode

Definition

Gibt einen Hashcode für den aktuellen OperationInfo zurück.

public:
 override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Gibt zurück

Int32

Ein Hashcode für diese Instanz.

Beispiele

Im folgenden Beispiel wird die Verwendung der GetHashCode-Methode veranschaulicht.

OperationInfo info = new OperationInfo();
info.Name = "ProcessData";
int code = info.GetHashCode();
Dim info As New OperationInfo()
info.Name = "ProcessData"
Dim code = info.GetHashCode()

Gilt für