Namespace: Amazon.EC2.Model
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  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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
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()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithFrom(Decimal)
Sets the From property
WithTo(Decimal)
Sets the To property

Inheritance Hierarchy

System..::..Object
  Amazon.EC2.Model..::..PortRange

See Also