Share via


DocumentIntelligenceModelFactory.CurrencyValue(Double, String, String) Method

Definition

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.

Applies to