FieldKernelGetFieldText Method |
Get the specified localized text for the specified field. Obtaining the text is
a three step process:
1) Look for the text item specified by name in the field's TextItems collection,
2) if not found, look for the item specified by ids in the locale resource file,
3) if not found, use the provided defaultText.
Namespace:
NetQuarry.Data
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax protected string GetFieldText(
string name,
string ids,
string defaultText
)
Protected Function GetFieldText (
name As String,
ids As String,
defaultText As String
) As String
Parameters
- name
- Type: SystemString
The name of the item in the field's TextItems collection. - ids
- Type: SystemString
The IDS of the item in the locale resource file. - defaultText
- Type: SystemString
The default text to use if corresponding string not found.
Return Value
Type:
StringThe localized text.
See Also