TextAnalysisModelFactory.VolumeMetadata(Double, VolumeUnit) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.