TextItemsGetText Method (String, String, Boolean, Boolean) |
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,
string defaultValue,
bool implicitVocab,
out bool found
)
Public Function GetText (
index As String,
defaultValue As String,
implicitVocab As Boolean,
<OutAttribute> ByRef found As Boolean
) As String
Parameters
- index
- Type: SystemString
The index of the item. - defaultValue
- Type: SystemString
The value to return if the item is not found. - implicitVocab
- Type: SystemBoolean
Should implicit vocubulary replacement be applied? - found
- Type: SystemBoolean
True if item was found, else false.
Return Value
Type:
StringThe text for item if found, else the default value.
Remarks Tenant-specific vocabulary replacement is applied.
See Also