Aracılığıyla paylaş


XmlILStorageConverter.DateTimeToAtomicValue Yöntem

Tanım

Bir DateTime 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 ^ DateTimeToAtomicValue(DateTime value, int index, System::Xml::Xsl::Runtime::XmlQueryRuntime ^ runtime);
public static System.Xml.Schema.XmlAtomicValue DateTimeToAtomicValue (DateTime value, int index, System.Xml.Xsl.Runtime.XmlQueryRuntime runtime);
static member DateTimeToAtomicValue : DateTime * int * System.Xml.Xsl.Runtime.XmlQueryRuntime -> System.Xml.Schema.XmlAtomicValue
Public Shared Function DateTimeToAtomicValue (value As DateTime, index As Integer, runtime As XmlQueryRuntime) As XmlAtomicValue

Parametreler

value
DateTime

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

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 DateTime .

Şunlara uygulanır