Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

FindInList Task

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

The following table describes the parameters of the FindInList Task.




Optional Boolean parameter.

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


Optional Boolean parameter.

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


Optional ITaskItem[] read-only output parameter.

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


Required String parameter.

The itemspec to search for.


Required ITaskItem[] parameter.

The list in which to search for the itemspec.


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.

In addition to the parameters listed above, this task inherits parameters from the TaskExtension class, which itself inherits from the Task class. For a list of these additional parameters and their descriptions, see TaskExtension Base Class.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.