Share via


OpenAIFilePurpose.Equality(OpenAIFilePurpose, OpenAIFilePurpose) Operator

Definition

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

public static bool operator == (Microsoft.SemanticKernel.Connectors.OpenAI.OpenAIFilePurpose left, Microsoft.SemanticKernel.Connectors.OpenAI.OpenAIFilePurpose right);
static member ( = ) : Microsoft.SemanticKernel.Connectors.OpenAI.OpenAIFilePurpose * Microsoft.SemanticKernel.Connectors.OpenAI.OpenAIFilePurpose -> bool
Public Shared Operator == (left As OpenAIFilePurpose, right As OpenAIFilePurpose) As Boolean

Parameters

left
OpenAIFilePurpose

the first OpenAIFilePurpose instance to compare

right
OpenAIFilePurpose

the second OpenAIFilePurpose instance to compare

Returns

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

Applies to