共用方式為


XmlILStorageConverter.DecimalToAtomicValue 方法

定義

將十進位值轉換為 XmlAtomicValue

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 static System::Xml::Schema::XmlAtomicValue ^ DecimalToAtomicValue(System::Decimal value, int index, System::Xml::Xsl::Runtime::XmlQueryRuntime ^ runtime);
public static System.Xml.Schema.XmlAtomicValue DecimalToAtomicValue (decimal value, int index, System.Xml.Xsl.Runtime.XmlQueryRuntime runtime);
static member DecimalToAtomicValue : decimal * int * System.Xml.Xsl.Runtime.XmlQueryRuntime -> System.Xml.Schema.XmlAtomicValue
Public Shared Function DecimalToAtomicValue (value As Decimal, index As Integer, runtime As XmlQueryRuntime) As XmlAtomicValue

參數

value
Decimal

要轉換之型別 Decimal 的值。

index
Int32

型別 Int32 的值,可提供要轉換之項目的索引。

runtime
XmlQueryRuntime

XmlQueryRuntime 類別的執行個體。

傳回

XmlAtomicValue

Decimal 值的 XmlAtomicValue 物件。

適用於