MapperKernelGetCascadedText Method (String, String) |
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 PageInfo's TextItems collection,
2) If not found, look for the text item in the mapper's TextItems collection,
3) If not found, look for the item in the locale resource file,
4) If not found, use the provided defaultText.
Note that the text is resolved for field expressions. To avoid this or for additional options,
use,
GetCascadedText(String, String, CascadedTextOptions).
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
)
Protected Function GetCascadedText (
ids As String,
defaultText As String
) As String
Parameters
- ids
- Type: SystemString
The string id. - defaultText
- Type: SystemString
The default text to use if corresponding string not found.
Return Value
Type:
StringThe localized text.
See Also