PlcIdentity Members

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcIdentity type exposes the following members.

PlcIdentity()

Initializes a new instance of the PlcIdentity class.

C#

protected PlcIdentity()

CompareTo(Object)

Compares the current PlcIdentity with the other.

C#

public abstract int CompareTo(object other)


Parameters

other Object

The PlcIdentity to compare with this PlcIdentity.


Returns

Int32

A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(Object)).

Equals(Object)

Determines whether the specified other is equal to this PlcIdentity.

C#

public abstract override bool Equals(object other)


Parameters

other Object

The PlcIdentity to compare to the current PlcIdentity.


Returns

Boolean

The value true if the specified PlcIdentity is equal to the current PlcIdentity; otherwise the value false.

GetHashCode()

Retrieves a hash code for this PlcIdentity.

C#

public abstract override int GetHashCode()


Returns

Int32

An Int32 that contains the hash code for the PlcIdentity.

GetObjectData(SerializationInfo, StreamingContext)

Sets the Serialization.SerializationInfo with information about the exception.

C#

[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
public abstract void GetObjectData(SerializationInfo info, StreamingContext context)


Parameters

info Serialization.SerializationInfo

The Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

context Serialization.StreamingContext

The Serialization.StreamingContext that contains contextual information about the source or destination.



Exceptions

ArgumentNullException

The info parameter is a null reference (Nothing in Visual Basic).

ToString()

Converts the name to its string representation.

C#

public abstract override string ToString()


Returns

String

A string that contains the name.

Equality(PlcIdentity, PlcIdentity)

Returns a value indicating whether two instance of PlcIdentity are equal.

C#

public static bool operator ==(PlcIdentity left, PlcIdentity right)

GreaterThan(PlcIdentity, PlcIdentity)

Determines whether the first specified PlcIdentity object is greater than the second specified PlcIdentity object.

C#

public static bool operator>(PlcIdentity left, PlcIdentity right)

GreaterThanOrEqual(PlcIdentity, PlcIdentity)

Determines whether the first specified PlcIdentity object is greater than or equal to the second specified PlcIdentity object.

C#

public static bool operator >=(PlcIdentity left, PlcIdentity right)

Implicit(String to PlcIdentity)

Converts a string formatted as name to an PlcIdentity object.

C#

public static implicit operator PlcIdentity(string value)


Exceptions

FormatException

The value is not a valid PLC identity.

Inequality(PlcIdentity, PlcIdentity)

Returns a value indicating whether two instances of PlcIdentity are not equal.

C#

public static bool operator !=(PlcIdentity left, PlcIdentity right)

LessThan(PlcIdentity, PlcIdentity)

Determines whether the first specified PlcIdentity object is less than the second specified PlcIdentity object.

C#

public static bool operator <(PlcIdentity left, PlcIdentity right)


Exceptions

ArgumentNullException

The left is a null reference (Nothing in Visual Basic).

LessThanOrEqual(PlcIdentity, PlcIdentity)

Determines whether the first specified PlcIdentity object is less than or equal to the second PlcIdentity object.

C#

public static bool operator <=(PlcIdentity left, PlcIdentity right)


Exceptions

ArgumentNullException

The left is a null reference (Nothing in Visual Basic).