AIProjectsModelFactory.MessageDeltaTextContentObject Method
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.
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
Azure SDK for .NET