TextAnalysisModelFactory.TemperatureMetadata(Double, TemperatureUnit) 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 TemperatureMetadata.
public static Azure.AI.Language.Text.TemperatureMetadata TemperatureMetadata (double value = 0, Azure.AI.Language.Text.TemperatureUnit unit = default);
static member TemperatureMetadata : double * Azure.AI.Language.Text.TemperatureUnit -> Azure.AI.Language.Text.TemperatureMetadata
Public Shared Function TemperatureMetadata (Optional value As Double = 0, Optional unit As TemperatureUnit = Nothing) As TemperatureMetadata
Parameters
- value
- Double
The numeric value that the extracted text denotes.
- unit
- TemperatureUnit
Unit of measure for temperature.
Returns
A new TemperatureMetadata instance for mocking.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET