Udostępnij za pośrednictwem


ConversationsModelFactory.OrdinalResolution Method

Definition

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