XmlILStorageConverter.TimeSpanToAtomicValue Yöntem

Tanım

Bir TimeSpan değeri değerine XmlAtomicValuedönüştürür.

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ürde TimeSpan bir değer.

index
Int32

Dönüştürülecek öğenin dizinini sağlayan tür Int32 değeri.

runtime
XmlQueryRuntime

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

Döndürülenler

XmlAtomicValue Değerin TimeSpan nesnesi.

Şunlara uygulanır