XmlILStorageConverter.TimeSpanToAtomicValue Método

Definição

Converte um TimeSpan valor para um XmlAtomicValue.

Esta API suporta a infraestrutura de produtos e não é pressuposta para ser utilizada diretamente a partir do seu código.

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

Parâmetros

value
TimeSpan

Um valor de tipo TimeSpan a converter.

index
Int32

Um valor de tipo Int32 que fornece o índice do item a converter.

runtime
XmlQueryRuntime

Uma instância da XmlQueryRuntime classe.

Devoluções

O XmlAtomicValue objeto pelo TimeSpan valor.

Aplica-se a