List.RemoveMatchingItemsList.RemoveMatchingItems
構文Syntax
List.RemoveMatchingItems(list1 as list, list2 as list, optional equationCriteria as any) as list
バージョン情報About
list2
内で発生する指定された値を、リスト list1
からすべて削除します。Removes all occurrences of the given values in list2
from the list list1
. list1
内に list2
の値が存在しない場合は、元のリストが返されます。If the values in list2
don't exist in list1
, the original list is returned. 省略可能な式条件値 equationCriteria
を指定して、等値テストを制御できます。An optional equation criteria value, equationCriteria
, can be specified to control equality testing.
例 1Example 1
{1, 2, 3, 4, 5, 5} から {1, 5} を削除したリストを作成します。Create a list from {1, 2, 3, 4, 5, 5} without {1, 5}.
List.RemoveMatchingItems({1, 2, 3, 4, 5, 5}, {1, 5})
22 |
33 |
44 |