Aracılığıyla paylaş


XmlILStorageConverter.TimeSpanToAtomicValue Yöntem

Tanım

Bir TimeSpan değeri öğesine dönüştürür XmlAtomicValue .

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

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

Parametreler

value
TimeSpan

Dönüştürülecek türden bir değer TimeSpan .

index
Int32

Int32Dönüştürülecek öğenin dizinini sağlayan türünde bir değer.

runtime
XmlQueryRuntime

XmlQueryRuntime sınıfının örneği.

Döndürülenler

XmlAtomicValue

XmlAtomicValueDeğer için nesne TimeSpan .

Şunlara uygulanır