Table of Contents

Class DataStoreTextFieldIntegrationCom

Namespace
Sfrep.AppraiseIt.Client.Integration.Com.DataStore.Fields
Assembly
Sfrep.AppraiseIt.Client.Integration.Com.dll

Encapsulates a text field in the dynamic data store.

[ComVisible(true)]
[Guid("5C410AD3-6460-47A0-A9C9-9EA25D96FBE1")]
[ClassInterface(ClassInterfaceType.None)]
public sealed class DataStoreTextFieldIntegrationCom : DataStoreExtendedCommentFieldIntegrationComBase, IDataStoreTextFieldIntegrationCom, IDataStoreExtendedCommentFieldIntegrationComBase, IDataStoreCompFieldIntegrationComBase, IDataStoreFieldIntegrationComBase, IDisposable
Inheritance
object
DataStoreTextFieldIntegrationCom
Implements
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()

Constructors

DataStoreTextFieldIntegrationCom()

This no args constructor is required for COM support and should not be called directly.

public DataStoreTextFieldIntegrationCom()

Methods

GetDateValue()

Gets the field data as a DateTime value.

public object GetDateValue()

Returns

object

The field data. If the field data cannot be parsed into a DateTime, null is returned.

GetNumericValue()

Gets the field data as a decimal value.

public decimal GetNumericValue()

Returns

decimal

The field data as a decimal value. If the field data is not numeric, 0 is returned.

GetPlaintext()

Gets the field data in plain text format.

public string GetPlaintext()

Returns

string

The field data in plain text format.

GetStringListValue()

Gets the field data as a list of enum string values.

public string[] GetStringListValue()

Returns

string[]

The field data.

Remarks

This method can be used to get the list of items selected in checked ComboBox fields.

SetDateValue(object)

Sets the field data as a DateTime value.

public void SetDateValue(object dateValue)

Parameters

dateValue object

The field data. To clear the field, null should be specified.

SetNumericValue(decimal)

Sets the field data as a decimal value.

public void SetNumericValue(decimal numericValue)

Parameters

numericValue decimal

The field data.

SetPlainText(string)

Sets the field data in plain text format.

public void SetPlainText(string plainText)

Parameters

plainText string

The field data in plain text format.

SetStringListValue(string[])

Sets the field data as a list of enum string values.

public void SetStringListValue(string[] stringListValue)

Parameters

stringListValue string[]

The field data.

Remarks

This method can be used to set the list of items selected in checked ComboBox fields.