IManagementDatabaseEstimate.GetFieldValue Method

Returns a value from an estimate cell.
Overloads Function GetFieldValue( _ 
ByVal columnName As String
) As Object
This language is not supported or no code example is available.
object GetFieldValue( 
string columnName 
)
This language is not supported or no code example is available.

Parameters

columnName
string

The identifier (mnemonic) of the column.

Return Value

object

Depending upon the column type, it returns a string, a number or a date. null reference (Nothing in Visual Basic) if the value of the field was not set or if the field with specified columnName doesn't exist in the table.

If the field points to a row in the child table (specified in IManagementDatabaseColumnMapping.TableToShow), the value is the GUID string of the target row. You can then use the IManagementDatabaseCustomTable.GetRow method of the child table to get the target row. Then use the IManagementDatabaseTableRow.ToDisplayString method of that row to get the actual value for displaying.

Exception type Condition

QdvApiException

A problem occurred.

Remarks
 
The native estimate fields can be better accessed from the properties, such as Title. But you can use also this method with their mnemonics.
Version
 
Available since QDV 7.14.520.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition