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.2+447d1d590e6726b7881f750a0a0e42908f3e417e
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