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

ChatRole.Inequality(ChatRole, ChatRole) Operator

Definition

Determines if two ChatRole values are not the same.

public static bool operator != (Azure.AI.Inference.ChatRole left, Azure.AI.Inference.ChatRole right);
static member op_Inequality : 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