| Noemax.FastInfoset Namespace > XmlFastInfosetReader Class : ReadElementContentAsShort Method |
'Declaration Public Function ReadElementContentAsShort() As System.Short
'Usage Dim instance As XmlFastInfosetReader Dim value As System.Short value = instance.ReadElementContentAsShort()
public System.short ReadElementContentAsShort()
public function ReadElementContentAsShort(): System.Int16;
public function ReadElementContentAsShort() : System.short;
public: System.short ReadElementContentAsShort();
public: System.short ReadElementContentAsShort();
The element content as a 16-bit signed integer
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 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.
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