Share via


ConversationsModelFactory.AgeResolution(Double, AgeUnit) Method

Definition

Initializes a new instance of AgeResolution.

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

Parameters

value
Double

The numeric value that the extracted text denotes.

unit
AgeUnit

The Age Unit of measurement.

Returns

A new AgeResolution instance for mocking.

Applies to