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






Reads the text content at the current position as a 16-bit signed integer.
Syntax
'Declaration
 
Public Function ReadContentAsShort() As System.Short
'Usage
 
Dim instance As XmlFastInfosetReader
Dim value As System.Short
 
value = instance.ReadContentAsShort()
public System.short ReadContentAsShort()
public function ReadContentAsShort(): System.Int16; 
public function ReadContentAsShort() : System.short;
public: System.short ReadContentAsShort(); 
public:
System.short ReadContentAsShort(); 

Return Value

The content as a 16-bit signed integer.
Remarks

If the content is a binary encoded 16-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 16-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

Send Feedback