語言

XmlILStorageConverter.BooleanToAtomicValue 方法

定義

將布林值 XmlAtomicValue轉換為 。

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

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

參數

value
Boolean

Boolean轉換價值。

index
Int32

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

runtime
XmlQueryRuntime

XmlQueryRuntime 類別的執行個體。

傳回

物件 XmlAtomicValue 換取 Boolean 價值。

適用於