Compartilhar via


TextAnalysisModelFactory.LengthMetadata(Double, LengthUnit) Method

Definition

Initializes a new instance of LengthMetadata.

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

Parameters

value
Double

The numeric value that the extracted text denotes.

unit
LengthUnit

Unit of measure for length.

Returns

A new LengthMetadata instance for mocking.

Applies to