EntityCoreTFieldsSetValue Method (Int32, Object) |
Sets the value of the field with the index specified to the value specified.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax protected bool SetValue(
int fieldIndex,
Object value
)
Protected Function SetValue (
fieldIndex As Integer,
value As Object
) As Boolean
Parameters
- fieldIndex
- Type: SystemInt32
The fieldindex of the field which value to set. - value
- Type: SystemObject
The value to set the field's currentvalue to.
Return Value
Type:
Booleantrue if the value is actually set, false otherwise
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | When fieldIndex is smaller than 0 or bigger than the amount of fields in the fields collection. |
See Also