PowerSNMP for .NET CF
Read Method
See Also  Send comments on this topic.
Dart.Common Namespace > NetworkStream Class : Read Method




buffer
Destination for all data read.
offset
Starting location for destination.
count
Maximum number of bytes to be read.
Perform a blocking read on the socket.

Syntax

Visual Basic (Declaration) 
Public Overrides Function Read( _
   ByVal buffer() As Byte, _
   ByVal offset As Integer, _
   ByVal count As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As NetworkStream
Dim buffer() As Byte
Dim offset As Integer
Dim count As Integer
Dim value As Integer
 
value = instance.Read(buffer, offset, count)
C# 
public override int Read( 
   byte[] buffer,
   int offset,
   int count
)
Managed Extensions for C++ 
public: int Read( 
   byte[]* buffer,
   int offset,
   int count
) override 
C++/CLI 
public:
int Read( 
   array<byte>^ buffer,
   int offset,
   int count
) override 

Parameters

buffer
Destination for all data read.
offset
Starting location for destination.
count
Maximum number of bytes to be read.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.