Gets the amount of data that has been received from the network and is available to be read.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overridable ReadOnly Property Available As Integer |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As TcpStream
Dim value As Integer
value = instance.Available |
| C# | |
|---|
public virtual int Available {get;} |
| Managed Extensions for C++ | |
|---|
public: __property virtual int get_Available(); |
| C++/CLI | |
|---|
public:
virtual property int Available {
int get();
} |
Property Value
The number of bytes of data that has been received from the network and is available to be read.
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also