Share via


FindInList.ItemFound Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the first matching item found in the list, if any.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
<OutputAttribute> _
Public Property ItemFound As ITaskItem
[OutputAttribute]
public ITaskItem ItemFound { get; set; }
[OutputAttribute]
public:
property ITaskItem^ ItemFound {
    ITaskItem^ get ();
    void set (ITaskItem^ value);
}
[<OutputAttribute>]
member ItemFound : ITaskItem with get, set
function get ItemFound () : ITaskItem 
function set ItemFound (value : ITaskItem)

Property Value

Type: Microsoft.Build.Framework.ITaskItem
The first matching item found in the list.

.NET Framework Security

See Also

Reference

FindInList Class

Microsoft.Build.Tasks Namespace