OperationInfo.GetHashCode Method

Definition

Returns a hash code for the current OperationInfo.

C#
public override int GetHashCode();

Returns

A hash code for this instance.

Examples

The following example demonstrates how to use the GetHashCode method.

C#
OperationInfo info = new OperationInfo();
info.Name = "ProcessData";
int code = info.GetHashCode();

Applies to

제품 버전
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1