Partilhar via


ChatRole.Equality(ChatRole, ChatRole) Operator

Definition

Determines if two ChatRole values are the same.

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

Parameters

left
ChatRole
right
ChatRole

Returns

Applies to