.NET Framework 4.6 and 4.5
Defines a constant that represents all ports.
static val mutable AllPorts: int
This field is read-only. The value of this field is -1.
The following example uses the AllPorts property to provide connection permissions to all of the resources ports.
No code example is currently available or this language may not be supported.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
.NET Framework Client Profile
Supported in: 4, 3.5 SP1