Redigera

Dela via


OperationInfo.GetHashCode Method

Definition

Returns a hash code for the current OperationInfo.

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

Returns

A hash code for this instance.

Examples

The following example demonstrates how to use the GetHashCode method.

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

Applies to