Click or drag to resize

CargoFunctionsHoldsLikeT Method

This is preliminary documentation and is subject to change.

Determines whether the list-typed field contains any value matching the specific LIKE wildcard expression. (See mw:Extension:Cargo/Querying data#HOLDS LIKE.)

Namespace: WikiClientLibrary.Cargo.Linq
Assembly: WikiClientLibrary.Cargo (in WikiClientLibrary.Cargo.dll) Version: 0.9.0-int.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntax
public static bool HoldsLike<T>(
	IEnumerable<T> cargoList,
	string pattern
)

Parameters

cargoList  IEnumerableT
Cargo table field expression of type list.
pattern  String
the matching pattern with % or _ wildcard.

Type Parameters

T
element name.

Return Value

Boolean
whether the list contains the matching element.
See Also