ConversationsModelFactory.OrdinalResolution 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 OrdinalResolution.
public static Azure.AI.Language.Conversations.Models.OrdinalResolution OrdinalResolution (string offset = default, Azure.AI.Language.Conversations.Models.RelativeTo relativeTo = default, string value = default);
static member OrdinalResolution : string * Azure.AI.Language.Conversations.Models.RelativeTo * string -> Azure.AI.Language.Conversations.Models.OrdinalResolution
Public Shared Function OrdinalResolution (Optional offset As String = Nothing, Optional relativeTo As RelativeTo = Nothing, Optional value As String = Nothing) As OrdinalResolution
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 OrdinalResolution instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET