AnnotationUrlCitation 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 |
|---|---|
| AnnotationUrlCitation() |
Initializes a new instance of AnnotationUrlCitation for deserialization. |
| AnnotationUrlCitation(Uri, Int32, Int32, String) |
Initializes a new instance of AnnotationUrlCitation. |
| AnnotationUrlCitation(AnnotationType, IDictionary<String,BinaryData>, Uri, Int32, Int32, String) |
Initializes a new instance of AnnotationUrlCitation. |
AnnotationUrlCitation()
- Source:
- AnnotationUrlCitation.cs
Initializes a new instance of AnnotationUrlCitation for deserialization.
public AnnotationUrlCitation();
Public Sub New ()
Applies to
AnnotationUrlCitation(Uri, Int32, Int32, String)
- Source:
- AnnotationUrlCitation.cs
Initializes a new instance of AnnotationUrlCitation.
public AnnotationUrlCitation(Uri url, int startIndex, int endIndex, string title);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationUrlCitation : Uri * int * int * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationUrlCitation
Public Sub New (url As Uri, startIndex As Integer, endIndex As Integer, title As String)
Parameters
- url
- Uri
The URL of the web resource.
- startIndex
- Int32
The index of the first character of the URL citation in the message.
- endIndex
- Int32
The index of the last character of the URL citation in the message.
- title
- String
The title of the web resource.
Exceptions
url or title is null.
Applies to
AnnotationUrlCitation(AnnotationType, IDictionary<String,BinaryData>, Uri, Int32, Int32, String)
- Source:
- AnnotationUrlCitation.cs
Initializes a new instance of AnnotationUrlCitation.
public AnnotationUrlCitation(Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, Uri url, int startIndex, int endIndex, string title);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationUrlCitation : Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationType * System.Collections.Generic.IDictionary<string, BinaryData> * Uri * int * int * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationUrlCitation
Public Sub New (type As AnnotationType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), url As Uri, startIndex As Integer, endIndex As Integer, title As String)
Parameters
- type
- AnnotationType
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.
- url
- Uri
The URL of the web resource.
- startIndex
- Int32
The index of the first character of the URL citation in the message.
- endIndex
- Int32
The index of the last character of the URL citation in the message.
- title
- String
The title of the web resource.