AWS SDK for .NET Documentation
PortRange Class
AmazonAmazon.EC2.ModelPortRange Did this page help you?   Yes   No    Tell us about it...
Port range.
Declaration Syntax
C#
public class PortRange
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
PortRange()()()()
Initializes a new instance of the PortRange class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
From
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
The last port in the range. A value of -1 indicates all ports

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithFrom(Decimal) Obsolete.
Sets the first port in the range. A value of -1 indicates all ports.

WithTo(Decimal) Obsolete.
Sets the last port in the range. A value of -1 indicates all ports

Inheritance Hierarchy
Object
PortRange

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)