DiscoveryModelFactory.DiscoveryCitation 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.
A citation for a generated result.
public static Azure.AI.Discovery.DiscoveryCitation DiscoveryCitation(Azure.AI.Discovery.CitationType type = default, int? index = default, string fileName = default, int? startOffset = default, int? endOffset = default);
static member DiscoveryCitation : Azure.AI.Discovery.CitationType * Nullable<int> * string * Nullable<int> * Nullable<int> -> Azure.AI.Discovery.DiscoveryCitation
Public Shared Function DiscoveryCitation (Optional type As CitationType = Nothing, Optional index As Nullable(Of Integer) = Nothing, Optional fileName As String = Nothing, Optional startOffset As Nullable(Of Integer) = Nothing, Optional endOffset As Nullable(Of Integer) = Nothing) As DiscoveryCitation
Parameters
- type
- CitationType
The type of citation.
- fileName
- String
The source file name.
Returns
A new DiscoveryCitation instance for mocking.