TypedMapperGetValue Method (String, Object, FindBehaviour) |
Get the value for the specified field.
The behaviour when the field is not found is dictated by the behaviour parameter.
Namespace:
NetQuarry.Data
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public Object GetValue(
string key,
Object defaultValue,
FindBehaviour behaviour
)
Public Function GetValue (
key As String,
defaultValue As Object,
behaviour As FindBehaviour
) As Object
Parameters
- key
- Type: SystemString
The key of the field for which to get the value. - defaultValue
- Type: SystemObject
The value to return when the field is not found. - behaviour
- Type: NetQuarry.DataFindBehaviour
Specifies the behaviour when the field is not found.
Return Value
Type:
ObjectThe field's value if found, else the provided defaultValue.
See Also