TextAnalysisModelFactory.OrdinalMetadata(String, RelativeTo, String) 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.
Initializes a new instance of OrdinalMetadata.
public static Azure.AI.Language.Text.OrdinalMetadata OrdinalMetadata (string offset = default, Azure.AI.Language.Text.RelativeTo relativeTo = default, string value = default);
static member OrdinalMetadata : string * Azure.AI.Language.Text.RelativeTo * string -> Azure.AI.Language.Text.OrdinalMetadata
Public Shared Function OrdinalMetadata (Optional offset As String = Nothing, Optional relativeTo As RelativeTo = Nothing, Optional value As String = Nothing) As OrdinalMetadata
Parameters
- offset
- String
The offset with respect to the reference (e.g., offset = -1 indicates the second to last).
- relativeTo
- RelativeTo
The reference point that the ordinal number denotes.
- value
- String
A simple arithmetic expression that the ordinal denotes.
Returns
A new OrdinalMetadata instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET