Namespace: Amazon.EC2.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class PortRange
Public Class PortRange
public ref class PortRange
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| PortRange()()()() | Initializes a new instance of the PortRange class | |
| Equals(Object) | (Inherited from Object.) | |
| From |
Gets and sets the From property.
The first port in the range. A value of -1 indicates all ports.
| |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsSetFrom()()()() |
Checks if From property is set
| |
| IsSetTo()()()() |
Checks if To property is set
| |
| To |
Gets and sets the To property.
The last port in the range. A value of -1 indicates all ports
| |
| ToString()()()() | (Inherited from Object.) | |
| WithFrom(Decimal) |
Sets the From property
| |
| WithTo(Decimal) |
Sets the To property
|