PicklistsGetDisplayText Method |
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public string GetDisplayText(
string picklist,
Object keyValue,
string discrim = null,
GetListOptions options =
)
Public Function GetDisplayText (
picklist As String,
keyValue As Object,
Optional discrim As String = Nothing,
Optional options As GetListOptions =
) As String
Parameters
- picklist
- Type: SystemString
The picklist to use for the lookup. - keyValue
- Type: SystemObject
The key value to search for. - discrim (Optional)
- 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 unless
the IgnoreDiscrim option is specified. If that option is specified, and
a key + discrim match is not found, a key-only search will be performed.
- options (Optional)
- Type: NetQuarryGetListOptions
Options specifying how to find the item.
Return Value
Type:
StringThe item's display text if found, otherwise a null/empty string.
See Also