FastInfoset.NET Class Reference for .NET
ReadContentAsInt Method (XmlFastInfosetReader)






Reads the text content at the current position as a 32-bit signed integer.
Syntax
'Declaration
 
Public Overrides NotOverridable Function ReadContentAsInt() As System.Integer
'Usage
 
Dim instance As XmlFastInfosetReader
Dim value As System.Integer
 
value = instance.ReadContentAsInt()
public override System.int ReadContentAsInt()
public function ReadContentAsInt(): System.Integer; override; 
public override function ReadContentAsInt() : System.int;
public: System.int ReadContentAsInt(); override 
public:
System.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.

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
Base Implementation in ReadContentAsInt

Send Feedback