Share via


ConversationsModelFactory.LengthResolution(Double, LengthUnit) Method

Definition

Initializes a new instance of LengthResolution.

public static Azure.AI.Language.Conversations.Models.LengthResolution LengthResolution (double value = 0, Azure.AI.Language.Conversations.Models.LengthUnit unit = default);
static member LengthResolution : double * Azure.AI.Language.Conversations.Models.LengthUnit -> Azure.AI.Language.Conversations.Models.LengthResolution
Public Shared Function LengthResolution (Optional value As Double = 0, Optional unit As LengthUnit = Nothing) As LengthResolution

Parameters

value
Double

The numeric value that the extracted text denotes.

unit
LengthUnit

The length Unit of measurement.

Returns

A new LengthResolution instance for mocking.

Applies to