XmlILStorageConverter.TimeSpanToAtomicValue Metodo

Definizione

Converte un valore TimeSpan in XmlAtomicValue.

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

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

Parametri

value
TimeSpan

Valore di tipo TimeSpan 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 TimeSpan.

Si applica a