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






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

Syntax

Visual Basic (Declaration) 
Public Function ReadContentAsShort() As Short
Visual Basic (Usage)Copy Code
Dim instance As XmlFastInfosetReader
Dim value As Short
 
value = instance.ReadContentAsShort()
C# 
public short ReadContentAsShort()
Delphi 
public function ReadContentAsShort(): ShortInt; 
JScript 
public function ReadContentAsShort() : short;
Managed Extensions for C++ 
public: short ReadContentAsShort(); 
C++/CLI 
public:
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.

See Also