Click or drag to resize

Picklist.GetFirstValueMatch 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: System.String
The text to search for
discrim
Type: System.String
The discrim value to use.
opts
Type: NetQuarry.GetListOptions
Match options.
value
Type: System.Object
Reference to the matching object's value.

Return Value

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