This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLReader Interface > IXMLReader.ReadByte Method (ArcObjects .NET 10.5 SDK) |
Reads the current element value as a byte.
[Visual Basic .NET] Public Function ReadByte ( _ ) As Byte
[C#] public byte ReadByte ( );
[C++]
HRESULT ReadByte(
Byte* Value
);
[C++]
Parameters Value [out, retval] Value is a parameter of type Byte
The ReadByte method specifies the current element value as a byte.
Byte variables are stored as single, unsigned 8 bit numbers (1 byte), its range is from 0 to 255. Anything below and above these numbers will cause the Invalid Procedure Call Error.