你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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