Compartilhar via


AIProjectsModelFactory.MessageDeltaTextFilePathAnnotation Method

Definition

Initializes a new instance of MessageDeltaTextFilePathAnnotation.

public static Azure.AI.Projects.MessageDeltaTextFilePathAnnotation MessageDeltaTextFilePathAnnotation (int index = 0, Azure.AI.Projects.MessageDeltaTextFilePathAnnotationObject filePath = default, int? startIndex = default, int? endIndex = default, string text = default);
static member MessageDeltaTextFilePathAnnotation : int * Azure.AI.Projects.MessageDeltaTextFilePathAnnotationObject * Nullable<int> * Nullable<int> * string -> Azure.AI.Projects.MessageDeltaTextFilePathAnnotation
Public Shared Function MessageDeltaTextFilePathAnnotation (Optional index As Integer = 0, Optional filePath As MessageDeltaTextFilePathAnnotationObject = Nothing, Optional startIndex As Nullable(Of Integer) = Nothing, Optional endIndex As Nullable(Of Integer) = Nothing, Optional text As String = Nothing) As MessageDeltaTextFilePathAnnotation

Parameters

index
Int32

The index of the annotation within a text content part.

filePath
MessageDeltaTextFilePathAnnotationObject

The file path information.

startIndex
Nullable<Int32>

The start index of this annotation in the content text.

endIndex
Nullable<Int32>

The end index of this annotation in the content text.

text
String

The text in the message content that needs to be replaced.

Returns

A new MessageDeltaTextFilePathAnnotation instance for mocking.

Applies to