| CargoFunctionsHoldsT Method |
This is preliminary documentation and is subject to change.
Namespace: WikiClientLibrary.Cargo.LinqAssembly: WikiClientLibrary.Cargo (in WikiClientLibrary.Cargo.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static bool Holds<T>(
IEnumerable<T> cargoList,
T element
)
Public Shared Function Holds(Of T) (
cargoList As IEnumerable(Of T),
element As T
) As Boolean
Dim cargoList As IEnumerable(Of T)
Dim element As T
Dim returnValue As Boolean
returnValue = CargoFunctions.Holds(cargoList,
element)
public:
generic<typename T>
static bool Holds(
IEnumerable<T>^ cargoList,
T element
)
static member Holds :
cargoList : IEnumerable<'T> *
element : 'T -> bool
Parameters
- cargoList IEnumerableT
- Cargo table field expression of type list.
- element T
- the matching element.
Type Parameters
- T
- element name.
Return Value
Booleanwhether the list contains the matching element.
See Also