XmlILStorageConverter.TimeSpanToAtomicValue Método

Definição

Converte um valor TimeSpan em um XmlAtomicValue.

Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente 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 do tipo TimeSpan a ser convertido.

index
Int32

Um valor do tipo Int32 que fornece o índice do item a ser convertido.

runtime
XmlQueryRuntime

Uma instância da classe XmlQueryRuntime.

Retornos

XmlAtomicValue

O objeto XmlAtomicValue para o valor TimeSpan.

Aplica-se a