Number Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll
The Number struct defines the following members.

CompareTo(Number)

Compares the current Number with another Number.

C#

public int CompareTo(Number other)


Parameters

other Number

The Number to compare with this Number.


Returns

Int32

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

CompareTo(object)

Compares the current Number with the other.

C#

public int CompareTo(object other)


Parameters

other Object

The Number to compare with this Number.


Returns

Int32

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

Equals(Number)

Determines whether the specified other is equal to this Number.

C#

public bool Equals(Number other)


Parameters

other Number

The Number to compare to the current Number.


Returns

Boolean

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

Equals(object)

Determines whether the specified other is equal to this Number.

C#

public override bool Equals(object other)


Parameters

other Object

The Number to compare to the current Number.


Returns

Boolean

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

GetHashCode()

Retrieves a hash code for this Number.

C#

public override int GetHashCode()


Returns

Int32

An Int32 that contains the hash code for the Number.

GetTypeCode()

Returns the type code for the Number value type.

C#

public TypeCode GetTypeCode()


Returns

TypeCode

The enumerated constant Boolean.

ToString()

Converts the numeric value of this instance to its equivalent string representation.

C#

public override string ToString()


Returns

String

The string representation of the value of this instance.

ToString(IFormatProvider)

Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.

C#

public string ToString(IFormatProvider provider)


Parameters

provider IFormatProvider

An object that supplies culture-specific formatting information.


Returns

String

The string representation of the value of this instance, as specified by provider.

ToString(string)

Converts the numeric value of this instance to its equivalent string representation, using the specified format.

C#

public string ToString(string format)


Parameters

format String

A standard or custom numeric format string.


Returns

String

The string representation of the value of this instance as specified by format.



Exceptions

FormatException

The format is invalid.

ToString(string, IFormatProvider)

Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.

C#

public string ToString(string format, IFormatProvider provider)


Parameters

format String

A standard or custom numeric format string.

provider IFormatProvider

An object that supplies culture-specific formatting information.


Returns

String

The string representation of the value of this instance as specified by format and provider.



Exceptions

FormatException

The format is invalid.

explicit operator byte(Number)

Converts a Number to a Byte value.

C#

public static explicit operator byte(Number value)

explicit operator decimal(Number)

Converts a Number to a Decimal value.

C#

public static explicit operator decimal(Number value)

explicit operator double(Number)

Converts a Number to a Double value.

C#

public static explicit operator double(Number value)

explicit operator float(Number)

Converts a Number to a Single value.

C#

public static explicit operator float(Number value)

explicit operator int(Number)

Converts a Number to a Int32 value.

C#

public static explicit operator int(Number value)

explicit operator long(Number)

Converts a Number to a Int64 value.

C#

public static explicit operator long(Number value)

explicit operator sbyte(Number)

Converts a Number to a SByte value.

C#

public static explicit operator sbyte(Number value)

explicit operator short(Number)

Converts a Number to a Int16 value.

C#

public static explicit operator short(Number value)

explicit operator uint(Number)

Converts a Number to a UInt32 value.

C#

public static explicit operator uint(Number value)

explicit operator ulong(Number)

Converts a Number to a UInt64 value.

C#

public static explicit operator ulong(Number value)

explicit operator ushort(Number)

Converts a Number to a UInt16 value.

C#

public static explicit operator ushort(Number value)

implicit operator Number(byte)

Converts a Byte to a Number value.

C#

public static implicit operator Number(byte value)

implicit operator Number(decimal)

Converts a Decimal to a Number value.

C#

public static implicit operator Number(decimal value)

implicit operator Number(double)

Converts a Double to a Number value.

C#

public static implicit operator Number(double value)

implicit operator Number(float)

Converts a Single to a Number value.

C#

public static implicit operator Number(float value)

implicit operator Number(int)

Converts a Int32 to a Number value.

C#

public static implicit operator Number(int value)

implicit operator Number(long)

Converts a Int64 to a Number value.

C#

public static implicit operator Number(long value)

implicit operator Number(sbyte)

Converts a SByte to a Number value.

C#

public static implicit operator Number(sbyte value)

implicit operator Number(short)

Converts a Int16 to a Number value.

C#

public static implicit operator Number(short value)

implicit operator Number(uint)

Converts a UInt32 to a Number value.

C#

public static implicit operator Number(uint value)

implicit operator Number(ulong)

Converts a UInt64 to a Number value.

C#

public static implicit operator Number(ulong value)

implicit operator Number(ushort)

Converts a UInt16 to a Number value.

C#

public static implicit operator Number(ushort value)

operator !=(Number, Number)

Returns a value indicating whether two values of Number are not equal.

C#

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

operator <(Number, Number)

Determines whether the first specified Number value is less than the second specified Number value.

C#

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

operator <=(Number, Number)

Determines whether the first specified Number value is less than or equal to the second Number value.

C#

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

operator ==(Number, Number)

Returns a value indicating whether two values of Number are equal.

C#

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

operator >(Number, Number)

Determines whether the first specified Number value is greater than the second specified Number value.

C#

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

operator >=(Number, Number)

Determines whether the first specified Number value is greater than or equal to the second specified Number value.

C#

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