MapperKernelGetCascadedText Method (String, String, CascadedTextOptions, IField) |
Get the specified localized text for this page. Obtaining the text is a cascading
process from most specific to least specific always using the IDS as the id:
1) Look for the text item in the field's TextItems collection (if provided),
2) If not found, look for the text item in the PageInfo's TextItems collection,
3) If not found, look for the text item in the mapper's TextItems collection,
4) If not found, look for the item in the application's TextItems collection,
5) If not found, look for the item in the locale resource file,
6) 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 GetCascadedText(
string ids,
string defaultText,
CascadedTextOptions options,
IField fld
)
Protected Function GetCascadedText (
ids As String,
defaultText As String,
options As CascadedTextOptions,
fld As IField
) As String
Parameters
- ids
- Type: SystemString
The string id. - defaultText
- Type: SystemString
The default text to use if corresponding string not found. - options
- Type: NetQuarry.DataCascadedTextOptions
Options controlling how the text is obtained and processed. - fld
- Type: NetQuarry.DataIField
The field for the specified text.
Return Value
Type:
StringThe localized text.
See Also