AmsAddress Class

Ams/Ads Address

Inheritance Hierarchy

System.Object
  TwinCAT.Ads.AmsAddress
Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public class AmsAddress

VB

Public Class AmsAddress

The AmsAddress type exposes the following members.

Constructors

 

Name

Description

AmsAddress.

Protected constructor

AmsAddress(Int32)

Constructor

AmsAddress(String)

Initializes a new instance of the AmsAddress class.

AmsAddress(AmsAddress)

Copy constructor

AmsAddress(AmsPort)

Constructor

AmsAddress(.Byte., Int32)

Constructor

AmsAddress(.Byte., AmsPort)

Constructor

AmsAddress(String, Int32)

Constructor

AmsAddress(String, AmsPort)

Constructor

AmsAddress(AmsNetId, Int32)

Constructor

AmsAddress(AmsNetId, AmsPort)

Constructor

Properties

 

Name

Description

NetId

Gets the NetId

Port

Gets the Port number

Methods

 

Name

Description

Clone

Clones this instance.

Equals

Equals (Overrides Object.Equals(Object).)

Finalize

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

GetHashCode

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

GetType

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

MemberwiseClone

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

Parse

Parses a string to an AmsAddress object.

ToString

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

TryParse

Tries to parse the AmsAddress from string.

Operators

 

Name

Description

Equality

Operator==

Inequality

Implements the != operator.

Fields

 

Name

Description

netId

The net id

port

The port

RegularExpressionPattern

The regular expression pattern for AmsAddress

Reference

TwinCAT.Ads Namespace