XmlILStorageConverter.TimeSpanToAtomicValue(TimeSpan, Int32, XmlQueryRuntime) Método
Definição
Converte um valor TimeSpan em um XmlAtomicValue.Converts a TimeSpan value to an 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
- index
- Int32
Um valor do tipo Int32 que fornece o índice do item a ser convertido.A value of type Int32 that provides the index of the item to convert.
- runtime
- XmlQueryRuntime
Uma instância da classe XmlQueryRuntime.An instance of the XmlQueryRuntime class.
Retornos
O objeto XmlAtomicValue para o valor TimeSpan.The XmlAtomicValue object for the TimeSpan value.