Compartir por


XmlAtomicValue.ValueAsLong Propiedad

Definición

Obtiene el valor del atributo o elemento XML validado como .Int64

public:
 virtual property long ValueAsLong { long get(); };
public override long ValueAsLong { get; }
member this.ValueAsLong : int64
Public Overrides ReadOnly Property ValueAsLong As Long

Valor de propiedad

El valor del atributo o elemento XML validado como .Int64

Excepciones

El valor del atributo o elemento XML validado no tiene el formato correcto para el Int64 tipo.

El intento de conversión a Int64 no es válido.

La conversión intentó provocar un desbordamiento.

Comentarios

La ValueAsLong propiedad intenta convertir el valor del atributo o elemento XML validado en el tipo .NET Int64 según las reglas XPath 2.0 para convertir el tipo del elemento.

Para obtener más información sobre la compatibilidad de tipos en el System.Xml espacio de nombres, vea Compatibilidad de tipos en las clases System.Xml.

Se aplica a

Consulte también