Click or drag to resize

TextItemsGetText Method (String, 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,
	string defaultValue,
	bool implicitVocab,
	string format
)

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?
format
Type: SystemString
If implicit vocabulary applied, what format transformation should be applied to the string

Return Value

Type: String
The text for item if found, else the default value.
Remarks
Tenant-specific vocabulary replacement is applied.
See Also