共用方式為


TextAnalysisModelFactory.SpeedMetadata(Double, SpeedUnit) Method

Definition

Initializes a new instance of SpeedMetadata.

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

Parameters

value
Double

The numeric value that the extracted text denotes.

unit
SpeedUnit

Unit of measure for speed.

Returns

A new SpeedMetadata instance for mocking.

Applies to