WCF-Xtensions Class Reference for Mono
ReadAsBytes Method (JsonTextReader)






Reads the next JSON token from the stream as a Byte[].
Syntax
'Declaration
 
Public Overrides Function ReadAsBytes() As System.Byte()
'Usage
 
Dim instance As JsonTextReader
Dim value() As System.Byte
 
value = instance.ReadAsBytes()
public override System.byte[] ReadAsBytes()
public function ReadAsBytes(): System.array of Byte; override; 
public override function ReadAsBytes() : System.byte[];
public: System.byte[]* ReadAsBytes(); override 
public:
System.array<byte>^ ReadAsBytes(); override 

Return Value

A Byte[] or a null reference if the next JSON token is null. This method will return null at the end of an array.
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

JsonTextReader Class
JsonTextReader Members
Base Implementation in ReadAsBytes

Send Feedback