PlcUserDefinedTypeOperand Members

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

PlcUserDefinedTypeOperand(SerializationInfo, StreamingContext)

Initializes a new instance of the PlcUserDefinedTypeOperand class with serialized data.

C#

protected PlcUserDefinedTypeOperand(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 null reference (Nothing in Visual Basic).

Serialization.SerializationException

The class name is null reference (Nothing in Visual Basic) or HResult is zero (0).

CompareTo(Object)

Compares the current PlcUserDefinedTypeOperand with the other.

C#

public override int CompareTo(object other)


Parameters

other Object

The PlcUserDefinedTypeOperand to compare with this PlcUserDefinedTypeOperand.


Returns

Int32

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

CompareTo(PlcUserDefinedTypeOperand)

Compares the current PlcUserDefinedTypeOperand with another PlcUserDefinedTypeOperand.

C#

public int CompareTo(PlcUserDefinedTypeOperand other)


Parameters

other PlcUserDefinedTypeOperand

The PlcUserDefinedTypeOperand to compare with this PlcUserDefinedTypeOperand.


Returns

Int32

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

Equals(Object)

Determines whether the specified other is equal to this PlcUserDefinedTypeOperand.

C#

public override bool Equals(object other)


Parameters

other Object

The PlcUserDefinedTypeOperand to compare to the current PlcUserDefinedTypeOperand.


Returns

Boolean

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

Equals(PlcUserDefinedTypeOperand)

Determines whether the specified other is equal to this PlcUserDefinedTypeOperand.

C#

public bool Equals(PlcUserDefinedTypeOperand other)


Parameters

other PlcUserDefinedTypeOperand

The PlcUserDefinedTypeOperand to compare to the current PlcUserDefinedTypeOperand.


Returns

Boolean

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

GetHashCode()

Retrieves a hash code for this PlcUserDefinedTypeOperand.

C#

public override int GetHashCode()


Returns

Int32

An Int32 that contains the hash code for the PlcUserDefinedTypeOperand.

GetObjectData(SerializationInfo, StreamingContext)

Sets the Serialization.SerializationInfo with information about the exception.

C#

[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
public override 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).

Equality(PlcUserDefinedTypeOperand, PlcUserDefinedTypeOperand)

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

C#

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

GreaterThan(PlcUserDefinedTypeOperand, PlcUserDefinedTypeOperand)

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

C#

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

GreaterThanOrEqual(PlcUserDefinedTypeOperand, PlcUserDefinedTypeOperand)

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

C#

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

Implicit(String to PlcUserDefinedTypeOperand)

Converts a string formatted as operand to an PlcUserDefinedTypeOperand object.

C#

public static implicit operator PlcUserDefinedTypeOperand(string value)


Exceptions

FormatException

The value is not a valid PLC operand.

Inequality(PlcUserDefinedTypeOperand, PlcUserDefinedTypeOperand)

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

C#

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

LessThan(PlcUserDefinedTypeOperand, PlcUserDefinedTypeOperand)

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

C#

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


Exceptions

ArgumentNullException

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

LessThanOrEqual(PlcUserDefinedTypeOperand, PlcUserDefinedTypeOperand)

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

C#

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


Exceptions

ArgumentNullException

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