For Babelfish Release 1.11.1.3

AttributeValueGetFieldValue(String) Method

Intended for Attributes with MultipleValues set to false (not a list). Retreives the field value based on the passed in fieldName. If fieldName has not yet been set, the default value for the feild is returned. Caller is responsible for casting to the approrpirate .NET type.

Definition

Namespace: Scopos.BabelFish.DataModel.AttributeValue
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
public Object GetFieldValue(
	string fieldName
)

Parameters

fieldName  String
Valid FieldName as defined in AttributeDefintion

Return Value

Object
object to be type cast

Exceptions

AttributeValueExceptionThrown when the passed in fieldName is unknown, or the Attribute is a multi-value attribute.

See Also