Gets or sets the port range desired.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property LocalPortRange As Integer |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As SocketOption
Dim value As Integer
instance.LocalPortRange = value
value = instance.LocalPortRange |
| C# | |
|---|
public int LocalPortRange {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property int get_LocalPortRange();
public: __property void set_LocalPortRange(
int value
); |
| C++/CLI | |
|---|
public:
property int LocalPortRange {
int get();
void set ( int value);
} |
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also