AmsNetId Class

AMS/ADS Net ID

Inheritance Hierarchy

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

Syntax

C#

[SerializableAttribute]
public class AmsNetId : IComparable<AmsNetId>, 
    IComparable

VB

<SerializableAttribute>
Public Class AmsNetId
    Implements IComparable(Of AmsNetId), IComparable

The AmsNetId type exposes the following members.

Constructors

 

Name

Description

AmsNetId Class 1:

AmsNetId(.Byte.)

Constructor

AmsNetId Class 2:

AmsNetId(String)

Constructor

AmsNetId Class 3:

AmsNetId(AmsNetId)

Copy Constructor

Properties

 

Name

Description

AmsNetId Class 4:

AmsNetId Class 5:

Empty

Creates an empty NetId ("0.0.0.0.0.0")

AmsNetId Class 6:

IsLocal

Is the Address Local?

AmsNetId Class 7:

AmsNetId Class 8:

Local

Gets the Local Net ID (System service must be running)

AmsNetId Class 9:

AmsNetId Class 10:

LocalHost

Creates the local NetId ("127.0.0.1.1.1")

Methods

 

Name

Description

AmsNetId Class 11:

Clone

Clones the NetId

AmsNetId Class 12:

CompareTo(Object)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

AmsNetId Class 13:

CompareTo(AmsNetId)

Compares the current object with another object of the same type.

AmsNetId Class 14:

Equals

Equals (Overrides Object.Equals(Object).)

AmsNetId Class 15:

Finalize

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

AmsNetId Class 16:

AmsNetId Class 17:

FromBinHexString

Creates the AmsNetId from bin hex string.

AmsNetId Class 18:

GetHashCode

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

AmsNetId Class 19:

GetType

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

AmsNetId Class 20:

AmsNetId Class 21:

IsEqual

Determines whether the specified AmsNetIds are equal.

AmsNetId Class 22:

AmsNetId Class 23:

IsSameTarget

Determines whether the AmsNetIds refer to the same target.

AmsNetId Class 24:

MemberwiseClone

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

AmsNetId Class 25:

NetIdsEqual(.Byte.)

Compares the netIds

AmsNetId Class 26:

AmsNetId Class 27:

NetIdsEqual(.Byte., .Byte.)

Compares the NetIds

AmsNetId Class 28:

AmsNetId Class 29:

Parse

Converts the string representation of the address to AmsNetId.

AmsNetId Class 30:

ToBinHex.

Converts the AmsNetId to a BinHex string.

AmsNetId Class 31:

AmsNetId Class 32:

ToBinHex(AmsNetId)

Converts the specified AmsNetId to a BinHex string.

AmsNetId Class 33:

ToBytes

Converts the NetId object to byte array

AmsNetId Class 34:

ToString.

Converts the netId to string (Overrides Object.ToString..)

AmsNetId Class 35:

ToString(String, IFormatProvider)

Returns a String that represents this instance.

AmsNetId Class 36:

AmsNetId Class 37:

TryParse

Converts the string representation of the address to AmsNetId.

Operators

 

Name

Description

AmsNetId Class 38:

AmsNetId Class 39:

Equality

Operator==

AmsNetId Class 40:

AmsNetId Class 41:

Inequality

Implements the != operator.

Reference

TwinCAT.Ads Namespace