TextAnalysisModelFactory.AgeMetadata(Double, AgeUnit) 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 AgeMetadata.
public static Azure.AI.Language.Text.AgeMetadata AgeMetadata (double value = 0, Azure.AI.Language.Text.AgeUnit unit = default);
static member AgeMetadata : double * Azure.AI.Language.Text.AgeUnit -> Azure.AI.Language.Text.AgeMetadata
Public Shared Function AgeMetadata (Optional value As Double = 0, Optional unit As AgeUnit = Nothing) As AgeMetadata
Parameters
- value
- Double
The numeric value that the extracted text denotes.
- unit
- AgeUnit
Unit of measure for age.
Returns
A new AgeMetadata instance for mocking.