你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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