MessageRole.Implicit(String to MessageRole) Operator

Definition

Converts a string to a MessageRole.

public static implicit operator Azure.AI.OpenAI.Assistants.MessageRole (string value);
static member op_Implicit : string -> Azure.AI.OpenAI.Assistants.MessageRole
Public Shared Widening Operator CType (value As String) As MessageRole

Parameters

value
String

Returns

Applies to