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