FieldsGetDisplayText Method |
The DisplayText (see cref="IField.DisplayTextGet"/>) for the specified field.
The behaviour when the field is not found is dictated by the
FindBehaviour parameter.
Namespace:
NetQuarry.Data
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public Object GetDisplayText(
string key,
string defaultText,
DispTextFlags flags,
FindBehaviour behaviour
)
Public Function GetDisplayText (
key As String,
defaultText As String,
flags As DispTextFlags,
behaviour As FindBehaviour
) As Object
Parameters
- key
- Type: SystemString
The key of the field for which to get the text. - defaultText
- Type: SystemString
The text to return when the field is not found. - flags
- Type: NetQuarry.DataDispTextFlags
Flags specifying how the DisplayText is to be rendered. - behaviour
- Type: NetQuarry.DataFindBehaviour
Specifies the behaviour when the field is not found.
Return Value
Type:
ObjectThe field's DisplayText if found, else the provided defaultText.
See Also