XmlILStorageConverter.StringToAtomicValue 方法

定义

将字符串值转换为 XmlAtomicValue

此 API 支持产品基础结构,不能在代码中直接使用。

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

参数

value
String

要转换的 String 类型的值。

index
Int32

一个 Int32 类型的值,该值提供要转换的项的索引。

runtime
XmlQueryRuntime

XmlQueryRuntime 类的实例。

返回

String 值的 XmlAtomicValue 对象。

适用于