Share via


AuthorRole.Inequality(AuthorRole, AuthorRole) Operator

Definition

Returns a value indicating whether two AuthorRole instances are not equivalent, as determined by a case-insensitive comparison of their labels.

public static bool operator != (Microsoft.SemanticKernel.ChatCompletion.AuthorRole left, Microsoft.SemanticKernel.ChatCompletion.AuthorRole right);
static member op_Inequality : Microsoft.SemanticKernel.ChatCompletion.AuthorRole * Microsoft.SemanticKernel.ChatCompletion.AuthorRole -> bool
Public Shared Operator != (left As AuthorRole, right As AuthorRole) As Boolean

Parameters

left
AuthorRole

the first AuthorRole instance to compare

right
AuthorRole

the second AuthorRole instance to compare

Returns

false if left and right are both null or have equivalent labels; true otherwise

Applies to