共用方式為


TextAnalysisModelFactory.AreaMetadata(Double, AreaUnit) Method

Definition

Initializes a new instance of AreaMetadata.

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

Parameters

value
Double

The numeric value that the extracted text denotes.

unit
AreaUnit

Unit of measure for area.

Returns

A new AreaMetadata instance for mocking.

Applies to