Click or drag to resize

FieldsFind Method

Overload List
  NameDescription
Public methodFind(String, FieldFindType)
Searches for a field in the collection based on FieldFindType using OkIfNotFound. See Find(String, FieldFindType, FindBehaviour) for additional details.
Public methodFind(String, FieldFindType, FindBehaviour)
Searches for an IField in the collection based on FieldFindType.

The searchID depends on the findType:

findTypesearchID
ByKeyThe field's Key name IField.Key.
ByCtrlNmThe field's IField.ControlName.
PKFinds the first field marked PK in the collection.
ByAliasFind field by IField.AliasName
UniqueKeyFinds the field marked UniqueKey in the collection (there should be no more than one), if any, else the first field marked PK.
ByCtrlUniqueIdFinds field by it's BaseControl's fully qualified UniqueID
ByFieldIDFinds field by it's GUID (xmt_fields.field_id).
AlternateKeyFinds the field marked AlternateKey, or if no such field and there is exactly one field marked as PK, that field.
Top
See Also