TextItemsGetText Method (String, Boolean, String) |
Returns the text for the given index. If the text doesn't exist in the collection then the
defaultValue parameter is returned.
If implicit vocabulary is requested then the text string is used as a key into the
tenant-specific vocabulary collection used for replacement if found there. Typically this
applies only to mapper field captions.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public string GetText(
string index,
bool implicitVocab,
string defaultValue
)
Public Function GetText (
index As String,
implicitVocab As Boolean,
defaultValue As String
) As String
Parameters
- index
- Type: SystemString
The index of the item. - implicitVocab
- Type: SystemBoolean
Should implicit vocubulary replacement be applied? - defaultValue
- Type: SystemString
The value to return if the item is not found.
Return Value
Type:
StringThe text for item if found, else the default value.
Remarks Tenant-specific vocabulary replacement is applied.
See Also