Click or drag to resize

PicklistGetFirstValueMatch Method (String, String, GetListOptions, Object)

Finds the first matching item in the collection. The search always starts at the beginning of the list. And performs a starts with search, or exact match search, as specified in opts. Note that if IncludeDisabled is specified, a disabled item will only be matched if there are no matching enabled items.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public bool GetFirstValueMatch(
	string text,
	string discrim,
	GetListOptions opts,
	out Object value
)

Parameters

text
Type: SystemString
The text to search for
discrim
Type: SystemString
The discrim value to use.
opts
Type: NetQuarryGetListOptions
Match options.
value
Type: SystemObject
Reference to the matching object's value.

Return Value

Type: Boolean
True if the item matches, False otherwise.
See Also