你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.