Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FindInList Task

In a specified list, finds an item that has the matching itemspec.

The following table describes the parameters of the FindInList Task.

Parameter

Description

CaseSensitive

Optional Boolean parameter.

If true, the search is case-sensitive; otherwise, it is not. Default value is true.

FindLastMatch

Optional Boolean parameter.

If true, return the last match; otherwise, return the first match. Default value is false.

ItemFound

Optional ITaskItem[] read-only output parameter.

The first matching item found in the list, if any.

ItemSpecToFind

Required String parameter.

The itemspec to search for.

List

Required ITaskItem[] parameter.

The list in which to search for the itemspec.

MatchFileNameOnly

Optional Boolean parameter.

If true, match against just the file name part of the itemspec; otherwise, match against the whole itemspec. Default value is true.

Community Additions

ADD
Show:
© 2015 Microsoft