Share via


ChatRole.Implicit(String to ChatRole) Operator

Definition

Converts a String to a ChatRole.

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

Parameters

value
String

Returns

Applies to