Share via


TextAnalyticsErrorCode.Equality Operator

Definition

Compares two TextAnalyticsErrorCode values for equality.

public static bool operator == (Azure.AI.TextAnalytics.TextAnalyticsErrorCode left, Azure.AI.TextAnalytics.TextAnalyticsErrorCode right);
static member ( = ) : Azure.AI.TextAnalytics.TextAnalyticsErrorCode * Azure.AI.TextAnalytics.TextAnalyticsErrorCode -> bool
Public Shared Operator == (left As TextAnalyticsErrorCode, right As TextAnalyticsErrorCode) As Boolean

Parameters

left
TextAnalyticsErrorCode

The first TextAnalyticsErrorCode to compare.

right
TextAnalyticsErrorCode

The second TextAnalyticsErrorCode to compare.

Returns

true if the TextAnalyticsErrorCode objects are equal or are both null; false otherwise.

Applies to