VeriStand .NET API Reference

DataValue Members

The DataValue type exposes the following members.

NameDescription
DataValue
Overloaded. Initializes a new instance of DataValue.

Methods

NameDescription
Clone Creates a new object that is a copy of the current data resource. (Inherited from DataResource.)
Equals
Overloaded. Returns a value indicating whether this instance is equal to the specified DataResource object. This method uses Type and Units to determine equivalency.
FinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
GetBytes Returns the data value as an array of bytes.
GetDataValueOfType Returns a DataValue object with the specified data type.
GetHashCode Serves as a hash function for a DataValue object. The hash code this method returns is suitable for use in hashing algorithms and data structures like a hash table. (Overrides Object.GetHashCode().)
GetTypeGets the Type of the current instance. (Inherited from Object.)
MemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
SetBytes Sets the DataValue based on Bytes. This is an abstract declaration only. Derived classes must implement the correct SetBytes method for that class.
ToBestInt Returns a DataValue object representing an I32Value, U32Value, I64Value, or U64Value.
ToStringReturns a String that represents the current Object. (Inherited from Object.)

Properties

NameDescription
Size Gets the size of the data value.
Type Gets the data type of the data value.
Units Gets or sets the units of the data value. Units can be any string that makes sense for the data value.

Events

NameDescription
PropertyChanged Occurs when a property value changes. (Inherited from DataResource.)

See Also

Log in to get a better experience