DocumentIntelligenceModelFactory.CurrencyValue(Double, String, String) 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 CurrencyValue.
public static Azure.AI.DocumentIntelligence.CurrencyValue CurrencyValue (double amount = 0, string currencySymbol = default, string currencyCode = default);
static member CurrencyValue : double * string * string -> Azure.AI.DocumentIntelligence.CurrencyValue
Public Shared Function CurrencyValue (Optional amount As Double = 0, Optional currencySymbol As String = Nothing, Optional currencyCode As String = Nothing) As CurrencyValue
Parameters
- amount
- Double
Currency amount.
- currencySymbol
- String
Currency symbol label, if any.
- currencyCode
- String
Resolved currency code (ISO 4217), if any.
Returns
A new CurrencyValue instance for mocking.