XmlILStorageConverter.DateTimeToAtomicValue Metod

Definition

Konverterar ett DateTime värde till en XmlAtomicValue.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

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

Parametrar

value
DateTime

Ett värde av typen som DateTime ska konverteras.

index
Int32

Ett värde av typen Int32 som innehåller indexet för objektet som ska konverteras.

runtime
XmlQueryRuntime

En instans av XmlQueryRuntime klassen.

Returer

Objektet XmlAtomicValue för värdet DateTime .

Gäller för