Share via


TextAnalysisModelFactory.CurrencyMetadata(Double, String, String) Method

Definition

Initializes a new instance of CurrencyMetadata.

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

Parameters

value
Double

The numeric value that the extracted text denotes.

unit
String

Currency unit.

iso4217
String

The alphabetic code based on another ISO standard, ISO 3166, which lists the codes for country names. The first two letters of the ISO 4217 three-letter code are the same as the code for the country name, and, where possible, the third letter corresponds to the first letter of the currency name.

Returns

A new CurrencyMetadata instance for mocking.

Applies to