Compartilhar via


AIProjectsModelFactory.MessageDeltaTextContentObject Method

Definition

Initializes a new instance of MessageDeltaTextContentObject.

public static Azure.AI.Projects.MessageDeltaTextContentObject MessageDeltaTextContentObject (string value = default, System.Collections.Generic.IEnumerable<Azure.AI.Projects.MessageDeltaTextAnnotation> annotations = default);
static member MessageDeltaTextContentObject : string * seq<Azure.AI.Projects.MessageDeltaTextAnnotation> -> Azure.AI.Projects.MessageDeltaTextContentObject
Public Shared Function MessageDeltaTextContentObject (Optional value As String = Nothing, Optional annotations As IEnumerable(Of MessageDeltaTextAnnotation) = Nothing) As MessageDeltaTextContentObject

Parameters

value
String

The data that makes up the text.

annotations
IEnumerable<MessageDeltaTextAnnotation>

Annotations for the text. Please note MessageDeltaTextAnnotation is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MessageDeltaTextFileCitationAnnotation and MessageDeltaTextFilePathAnnotation.

Returns

A new MessageDeltaTextContentObject instance for mocking.

Applies to