Click or drag to resize

PicklistGetDisplayText Method (Object, String)

Returns the display text for a specified keyValue.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public string GetDisplayText(
	Object keyValue,
	string discrim
)

Parameters

keyValue
Type: SystemObject
The key value to search for.
discrim
Type: SystemString
The discriminator of the item to search for. If the picklist uses discrims then both key and discrim must match the item's key and discrim to be considered a match.

Return Value

Type: String
The item's display text if found, otherwise an empty string.
See Also