AmsAddress Class

Ams/Ads Address

Inheritance Hierarchy

System.Object
  TwinCAT.Ads.AmsAddress
Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public class AmsAddress

The AmsAddress type exposes the following members.

Constructors

 

Name

Description

AmsAddress Class 1:

AmsAddress.

Protected constructor

AmsAddress Class 2:

AmsAddress(AmsAddress)

Copy constructor

AmsAddress Class 3:

AmsAddress(AmsPort)

Constructor

AmsAddress Class 4:

AmsAddress(Int32)

Constructor

AmsAddress Class 5:

AmsAddress(String)

Initializes a new instance of the AmsAddress class.

AmsAddress Class 6:

AmsAddress(AmsNetId, Int32)

Constructor

AmsAddress Class 7:

AmsAddress(AmsNetId, AmsPort)

Constructor

AmsAddress Class 8:

AmsAddress(.Byte., Int32)

Constructor

AmsAddress Class 9:

AmsAddress(.Byte., AmsPort)

Constructor

AmsAddress Class 10:

AmsAddress(String, Int32)

Constructor

AmsAddress Class 11:

AmsAddress(String, AmsPort)

Constructor

Properties

 

Name

Description

AmsAddress Class 12:

AmsAddress Class 13:

Empty

Gets an Empty Address.

AmsAddress Class 14:

NetId

Gets the NetId

AmsAddress Class 15:

Port

Gets the Port number

Methods

 

Name

Description

AmsAddress Class 16:

Clone

Clones this instance.

AmsAddress Class 17:

Equals

Equals (Overrides Object.Equals(Object).)

AmsAddress Class 18:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

AmsAddress Class 19:

GetHashCode

Gets the HashCode of the Address (Overrides Object.GetHashCode..)

AmsAddress Class 20:

GetType

Gets the Type of the current instance. (Inherited from Object.)

AmsAddress Class 21:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

AmsAddress Class 22:

AmsAddress Class 23:

Parse

Parses a string to an AmsAddress object.

AmsAddress Class 24:

SetNetId

Sets the net identifier.

AmsAddress Class 25:

SetPort

Sets the port.

AmsAddress Class 26:

ToString

Converts the Address to String 'NetId:Port' (Overrides Object.ToString..)

AmsAddress Class 27:

AmsAddress Class 28:

TryParse

Tries to parse the AmsAddress from string.

Operators

 

Name

Description

AmsAddress Class 29:

AmsAddress Class 30:

Equality

Operator==

AmsAddress Class 31:

AmsAddress Class 32:

Inequality

Implements the != operator.

Remarks

The AmsAddress consists of NetId and Port information and once it is constructed is immutable.

Reference

TwinCAT.Ads Namespace