Noemax FastInfoset.NET
ReadContentAsInt Method
See Also  Send Feedback
Noemax.FastInfoset Namespace > XmlFastInfosetReader Class : ReadContentAsInt Method






Reads the text content at the current position as a 32-bit signed integer.

Syntax

Visual Basic (Declaration) 
Public Overrides NotOverridable Function ReadContentAsInt() As Integer
Visual Basic (Usage)Copy Code
Dim instance As XmlFastInfosetReader
Dim value As Integer
 
value = instance.ReadContentAsInt()
C# 
public override int ReadContentAsInt()
Delphi 
public function ReadContentAsInt(): Integer; override; 
JScript 
public override function ReadContentAsInt() : int;
Managed Extensions for C++ 
public: int ReadContentAsInt(); override 
C++/CLI 
public:
int ReadContentAsInt(); override 

Return Value

The content as a 32-bit signed integer.

Remarks

If the content is a binary encoded 32-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 32-bit signed integer.

See Also