AmsAddress Class
Ams/Ads Address
Inheritance Hierarchy
SystemObject
TwinCAT.AdsAmsAddress
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public class AmsAddressThe AmsAddress type exposes the following members.
Constructors
|
|
Name |
Description |
|---|---|---|
|
|
Protected constructor | |
|
|
Copy constructor | |
|
|
Constructor | |
|
|
Constructor | |
|
|
Initializes a new instance of the AmsAddress class. | |
|
|
Constructor | |
|
|
Constructor | |
|
|
Constructor | |
|
|
Constructor | |
|
|
Constructor | |
|
|
Constructor |
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets an Empty Address. | |
|
|
Gets the NetId | |
|
|
Gets the Port number |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Clones this instance. | |
|
|
Equals | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Gets the HashCode of the Address | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Parses a string to an AmsAddress object. | |
|
|
Sets the net identifier. | |
|
|
Sets the port. | |
|
|
Converts the Address to String 'NetId:Port' | |
|
|
Tries to parse the AmsAddress from string. |
Operators
|
|
Name |
Description |
|---|---|---|
|
|
Operator== | |
|
|
Implements the != operator. |
Remarks
The AmsAddress consists of NetId and Port information and once it is constructed is immutable.
- AmsAddress Constructor (Int32)
- AmsAddress Constructor (String)
- AmsAddress Constructor (AmsAddress)
- AmsAddress Constructor (AmsPort)
- AmsAddress Constructor (.Byte., Int32)
- AmsAddress Constructor (.Byte., AmsPort)
- AmsAddress Constructor (String, Int32)
- AmsAddress Constructor (String, AmsPort)
- AmsAddress Constructor (AmsNetId, Int32)
- AmsAddress Constructor (AmsNetId, AmsPort)
- AmsAddress.Empty Property
- AmsAddress.NetId Property
- AmsAddress.Port Property
- AmsAddress.Clone Method
- AmsAddress.Equals Method
- AmsAddress.GetHashCode Method
- AmsAddress.Parse Method
- AmsAddress.SetNetId Method
- AmsAddress.SetPort Method
- AmsAddress.ToString Method
- AmsAddress.TryParse Method
- AmsAddress.Equality Operator
- AmsAddress.Inequality Operator
- AmsAddress.NetId Property
- AmsAddress.Port Property