XmlILStorageConverter.DateTimeToAtomicValue Metodo

Definizione

Converte un valore DateTime in XmlAtomicValue.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

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

Parametri

value
DateTime

Valore di tipo DateTime da convertire.

index
Int32

Valore di tipo Int32 che fornisce l'indice dell'elemento al convertitore.

runtime
XmlQueryRuntime

Istanza della classe XmlQueryRuntime.

Restituisce

XmlAtomicValue

Oggetto XmlAtomicValue per il valore DateTime.

Si applica a