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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for .NET