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
)
Public Function GetFirstValueMatch (
text As String,
discrim As String,
opts As GetListOptions,
<OutAttribute> ByRef value As Object
) As Boolean
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:
BooleanTrue if the item matches, False otherwise.
See Also