| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly Property NetworkStream As NetworkStream | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As TcpBase Dim value As NetworkStream value = instance.NetworkStream | |
| C# | |
|---|---|
public NetworkStream NetworkStream {get;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property NetworkStream* get_NetworkStream(); | |
| C++/CLI | |
|---|---|
public: property NetworkStream^ NetworkStream { NetworkStream^ get(); } | |
Returns null when no TCP connection exists.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code