Value Members

<< 点击显示目录 >>

主页  PVI通信 > PVI帮助信息 > PVI Services > BR.AN.Namespace > BR.AN.PviServices > Value Class >

Value Members

BR.AN.PviServices .NET


Value overview

Public Static (Shared) Operators and Type Conversions

puboperatorstaticAddition Operator

The addition operator computes the sum of the two instances of the Value class

puboperatorstaticDecrement Operator

The decrement operator (--) decrements the value by 1.

puboperatorstaticDivision Operator

The division operator (/) divides its first value type operand by its second.

puboperatorstaticEquality Operator

Overloaded. The equality operator (==) returns true if the two instances of the Value class are equal, false otherwise.

puboperatorstaticIncrement Operator

The increment operator (++) increments the value by 1.

puboperatorstaticInequality Operator

Overloaded. The inequality operator (!=) returns false if the two instances of the Value class are equal, true otherwise.

puboperatorstaticMultiplication Operator

The multiplication operator (*) computes the product of two instances of the Value class

puboperatorstaticSubtraction Operator

The subtraction operator computes the difference between the two instances of the Value class

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a Boolean value An InvalidCastException exception is thrown for invalid conversions

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a Boolean field value An InvalidCastException exception is thrown for invalid conversions

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a Byte value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a Byte field value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a DateTime value An InvalidCastException exception is thrown for conversions from Boolean, TimeSpan, String or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a DateTime field value An InvalidCastException exception is thrown for conversions from Boolean, TimeSpan, String or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a Double value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a Double field value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a Int16 value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a Int16 field value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a Int32 value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a Int32 field value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a Int64 value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a Int64 field value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a SByte value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a SByte field value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a Single value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a Single field value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a String value An InvalidCastException exception is thrown for conversions from Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a String field value An InvalidCastException exception is thrown for conversions from Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a TimeSpan value An InvalidCastException exception is thrown for conversions from Boolean, DateTime, String or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a TimeSpan field value An InvalidCastException exception is thrown for conversions from Boolean, DateTime, String or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a UInt16 value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a UInt16 field value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a UInt32 value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a UInt32 field value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a UInt64 value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts the instance of the Value class to a UInt64 field value An InvalidCastException exception is thrown for conversions from DateTime, TimeSpan or Structure

puboperatorstaticImplicit to Conversion

Converts a Boolean value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts a Boolean field value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts an Byte value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts a Byte field value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts a DateTime value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts a DateTime field value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts a Double value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts a Double field value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts an Int16 value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts an Int16 field value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts an Int32 value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts an Int32 field value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts an Int64 value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts an Int64 field value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts an SByte value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts an SByte field value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts a Single value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts a Single field value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts a String value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts a String field value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts a TimeSpan value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts a TimeSpan field value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts an UInt16 value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts an UInt16 field value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts an UInt32 value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts an UInt32 field value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts an UInt64 value to an instance of the Value class

puboperatorstaticImplicit to Conversion

Converts an UInt64 field value to an instance of the Value class

Public Instance Constructors

pubmethod Value

Overloaded. Initializes a new instance of the Value class.

Public Instance Properties

pubpropertyArrayData

Gets or sets the System.Type compatible array of values. This member is only valid for arrays which have a size bigger than 1! Setting the ValueArray will only be supported for the same type of array

pubpropertyArrayDimensions

Gets the number of elements for each dimension. The size of the array is the numer of dimensions. If the array has only one dimension this member will be null. (in this case ArrayLength will be the number of elements) Starting with 2 or more dimensions the member will be set.

pubpropertyArrayLength

Gets the number of array elements for this instance of a Value class. If the variable is of type multidimensional array this will be the total number of elements!

pubpropertyArrayMaxIndex

Gets the maximum index for arrays if the array does not start at index 0

pubpropertyArrayMinIndex

Gets the minimum index for arrays if the array does not start at index 0

pubpropertyDataSize

Gets or sets the datatype of this instance of the Value class

pubpropertyDataType

Gets or sets the datatype of this instance of the Value class

pubpropertyDerivedFrom

Gets the derivation this type is derived from.

pubpropertyEnumerations

Gets the array of enumerated values. The order of the elements correspond to the order of the definition of the enumeration.

pubpropertyIECDataType

Gets the data type of this instance.

pubpropertyIsBitString

Gets if the value is of type Bit- String or not. -1 ... undefined; 0 ... NOT a BitString type; 1 ... It is a Bit-String type.

pubpropertyIsDerived

Gets if the data type is derived from an existing type. -1 ... undefined; 0 ... NOT derived; 1 ... It is derived! call to get further information about the derivation.

pubpropertyIsEnum

Gets if the value will be an enumeration. Enumerations have a value and a corresponding string representation. -1 ... undefined; 0 ... NOT an enum; 1 ... It is an enum.

pubpropertyIsOfTypeArray

Gets wheter it is an array or not (VS=a or arrayLength bigger than 1)

pubpropertyIsPG2000String

Gets if this item is interpreted as PG2000 string.

pubpropertyItem

Overloaded. Gets or sets the value of a field member

pubpropertyParent

Gets or sets the Parent object of this instance

pubpropertySystemDataType

Gets the data type of this instance.

pubpropertyTypeLength

Gets or sets the typelength of this instance of the Value class

Public Instance Methods

pubmethodAssign

Overloaded. Initializes the Value class to the Object value

pubmethodBinaryToAnsiString

Call this member to get a string representation of the binary data. This can be used to transform any data on the PLC stored as string in any type of array (e.g. byte array) to a string value. No conversion is done! The function does not care about alignment! The function detects if the binary data is in ANSI or UNICODE format.

pubmethodBinaryToStringUNI

Call this member to get a string representation of the binary data. This can be used to transform any data on the PLC stored as string in any type of array (e.g. byte array) to a string value. No conversion is done! The function does not care about alignment! The function detects if the binary data is in ANSI or UNICODE format.

pubmethodDispose

Implement IDisposable.

pubmethodEquals

Overloaded. Returns a value indicating whether this instance is equal to a specified object.

pubmethodGetHashCode

Returns a hash code for the current Value object

pubmethodGetTypeCode

Returns the TypeCode for this instance.

pubmethodToAnsiString

Formats the value of the current instance using the specified format.

pubmethodToBoolean

Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.

pubmethodToByte

Converts the value of this instance to an equivalent Byte value using the specified culture-specific formatting information.

pubmethodToChar

Converts the value of this instance to an equivalent Char value using the specified culture-specific formatting information.

pubmethodToDateTime

Converts the value of this instance to an equivalent DateTime value using the specified culture-specific formatting information.

pubmethodToDecimal

Converts the value of this instance to an equivalent Decimal value using the specified culture-specific formatting information.

pubmethodToDouble

Converts the value of this instance to an equivalent Double value using the specified culture-specific formatting information.

pubmethodToEnum

Converts the int value to its enum name. If the value is out of range the method will simply return the int value.

pubmethodToIECString

Overloaded. Converts the value of this instance to an equivalent IEC String value

pubmethodToInt16

Converts the value of this instance to an equivalent Int16 value using the specified culture-specific formatting information.

pubmethodToInt32

Converts the value of this instance to an equivalent Int32 value using the specified culture-specific formatting information.

pubmethodToInt64

Converts the value of this instance to an equivalent Int64 value using the specified culture-specific formatting information.

pubmethodToSByte

Converts the value of this instance to an equivalent SByte value using the specified culture-specific formatting information.

pubmethodToSingle

Converts the value of this instance to an equivalent Single value using the specified culture-specific formatting information.

pubmethodToString

Overloaded. Converts the value of this instance to an equivalent String value using the specified culture-specific formatting information.

pubmethodToStringUNI

Formats the value of the current instance using the specified format.

pubmethodToSystemDataTypeValue

Helper function to get a system data type compliant value.

pubmethodToTimeSpan

Converts the value of this instance to an equivalent TimeSpan value using the specified culture-specific formatting information.

pubmethodToType

Converts the value of this instance to an Object of the specified Type that has an equivalent value, using the specified culture-specific formatting information.

pubmethodToUInt16

Converts the value of this instance to an equivalent UInt16 value using the specified culture-specific formatting information.

pubmethodToUInt32

Converts the value of this instance to an equivalent UInt32 value using the specified culture-specific formatting information.

pubmethodToUInt64

Converts the value of this instance to an equivalent UInt64 value using the specified culture-specific formatting information.

Public Instance Events

pubeventDisposing

Work in process.

See Also

Value Class | BR.AN.PviServices Namespace


Generated from assembly BR.AN.PviServices [8.1.0.4]