OpenAIFilePurpose.Equality(OpenAIFilePurpose, OpenAIFilePurpose) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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