FastInfoset.NET Class Reference for .NET
ReadElementContentAsLong() Method






Reads the current element and returns the content as a 64-bit signed integer.
Syntax
'Declaration
 
Public Overloads Overrides NotOverridable Function ReadElementContentAsLong() As System.Long
'Usage
 
Dim instance As XmlFastInfosetReader
Dim value As System.Long
 
value = instance.ReadElementContentAsLong()
public override System.long ReadElementContentAsLong()
public function ReadElementContentAsLong(): System.Int64; override; 
public override function ReadElementContentAsLong() : System.long;
public: System.long ReadElementContentAsLong(); override 
public:
System.int64 ReadElementContentAsLong(); override 

Return Value

The element content as a 64-bit signed integer.
Remarks

This method reads the start tag, the content of the element, and moves the reader past the end element tag. It expands entities and ignores processing instructions and comments. The element can only contain simple content. That is, it cannot have child elements.

If the content is a binary encoded 64-bit signed integer, the reader returns the value read. If the content is of any other type, the reader attempts to convert it to a 64-bit signed integer.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XmlFastInfosetReader Class
XmlFastInfosetReader Members
Overload List
Base Implementation in ReadElementContentAsLong()

Send Feedback