AnnotationFilePath Constructors
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.
Overloads
| Name | Description |
|---|---|
| AnnotationFilePath() |
Initializes a new instance of AnnotationFilePath for deserialization. |
| AnnotationFilePath(String, Int32) |
Initializes a new instance of AnnotationFilePath. |
| AnnotationFilePath(AnnotationType, IDictionary<String,BinaryData>, String, Int32) |
Initializes a new instance of AnnotationFilePath. |
AnnotationFilePath()
- Source:
- AnnotationFilePath.cs
Initializes a new instance of AnnotationFilePath for deserialization.
public AnnotationFilePath();
Public Sub New ()
Applies to
AnnotationFilePath(String, Int32)
- Source:
- AnnotationFilePath.cs
Initializes a new instance of AnnotationFilePath.
public AnnotationFilePath(string fileId, int index);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationFilePath : string * int -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationFilePath
Public Sub New (fileId As String, index As Integer)
Parameters
- fileId
- String
The ID of the file.
- index
- Int32
The index of the file in the list of files.
Exceptions
fileId is null.
Applies to
AnnotationFilePath(AnnotationType, IDictionary<String,BinaryData>, String, Int32)
- Source:
- AnnotationFilePath.cs
Initializes a new instance of AnnotationFilePath.
public AnnotationFilePath(Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string fileId, int index);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationFilePath : Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationType * System.Collections.Generic.IDictionary<string, BinaryData> * string * int -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationFilePath
Public Sub New (type As AnnotationType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), fileId As String, index As Integer)
Parameters
- type
- AnnotationType
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.
- fileId
- String
The ID of the file.
- index
- Int32
The index of the file in the list of files.