Partager via


AIProjectsModelFactory.MessageTextAnnotation(String, String) Method

Definition

Initializes a new instance of MessageTextAnnotation.

public static Azure.AI.Projects.MessageTextAnnotation MessageTextAnnotation (string type = default, string text = default);
static member MessageTextAnnotation : string * string -> Azure.AI.Projects.MessageTextAnnotation
Public Shared Function MessageTextAnnotation (Optional type As String = Nothing, Optional text As String = Nothing) As MessageTextAnnotation

Parameters

type
String

The object type.

text
String

The textual content associated with this text annotation item.

Returns

A new MessageTextAnnotation instance for mocking.

Applies to