Click or drag to resize

FieldsField Method (String, FindBehaviour)

Retrieves the specified IField object from the collection. Note that, unlike the Fields[Key] indexer, if the field is not found no entry is logged to the devlog. For finer control over behaviour when the field is not found, use the Find(String, FieldFindType, FindBehaviour) method specifying the desired FindBehaviour.

Namespace:  NetQuarry.Data
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public IField Field(
	string key,
	FindBehaviour behaviour
)

Parameters

key
Type: SystemString
The desired field's key.
behaviour
Type: NetQuarry.DataFindBehaviour
How the lookup should behave under specified circumstances (in particular when no such field is found).

Return Value

Type: IField
The requested field.
See Also