共用方式為


TextAnalysisModelFactory.VolumeMetadata(Double, VolumeUnit) Method

Definition

Initializes a new instance of VolumeMetadata.

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

Parameters

value
Double

The numeric value that the extracted text denotes.

unit
VolumeUnit

Unit of measure for volume.

Returns

A new VolumeMetadata instance for mocking.

Applies to