AttributeValueSetFieldValue(String, Object) Method
Set Attribute Value for Field Name
Namespace: Scopos.BabelFish.DataModel.AttributeValueAssembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
public void SetFieldValue(
string fieldName,
Object fieldValue
)
Parameters
- fieldName String
- Field Name to set
- fieldValue Object
- Field Value to set
| AttributeValueException | Thrown if the user tries to call this function on a Attribute that has MultipleValues set to true. User should instead call the overloaded SetFieldValue with three parameters (including the fieldKey). |
| AttributeValueValidationException | Thrown if the fieldValue is either the wrong type or the value does not pass validation. |