DistinctDataValue Class

Spotfire 14.3 API Reference
A wrapper class that holds a value that can occur in the column of a data table. The class provides equality and an ordering of the values even if they are of different underlying types. Values of the class can therefore be used in UndoableList and UndoableDictionary.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.DataDistinctDataValue

Namespace:  Spotfire.Dxp.Data
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(2, 0)]
[ImmutableAttribute]
public sealed class DistinctDataValue : IComparable<DistinctDataValue>

The DistinctDataValue type exposes the following members.

Constructors

  NameDescription
Public methodDistinctDataValue
Initializes a new instance of the DistinctDataValue class. The value must be of a type that can be stored in the column of a data table.
Top
Properties

  NameDescription
Public propertyValue
Gets the value.
Top
Methods

  NameDescription
Public methodCompareTo
Compares the current object to another DistinctDataValue.
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

If the underlying types differ the values are never considered equal.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference