XmlILStorageConverter.DateTimeToAtomicValue Yöntem

Tanım

Bir DateTime 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 ^ 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ürde DateTime 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 DateTime nesnesi.

Şunlara uygulanır