The ColumnValue object represents a combination of a column and a value. This is used in the following ways for lookups:

  • To define the column and the associated value you want to locate.
  • If you do not define the Column to be returned, an array of type Column Value is returned. By iterating through the array, the relevant column name-value pairs can be identified.

Note that this object maps directly to the ColumnValue interface in the Rhapsody API.

Method

Description

getColumnName()

Gets the column name.

getValue()

Gets the column value.

ColumnValue(string columnName, string value)

Creates a ColumnValue object with the given column name and value as strings. For example:

var columnValue = new ColumnValue("Age", "25");

Refer to LookupTable Object for examples.