Share via


Project.GetEvaluatedItemsByNameIgnoringCondition Method

Returns all items belonging to the specified item collection.

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.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

Syntax

'Declaration
Public Function GetEvaluatedItemsByNameIgnoringCondition ( _
    itemName As String _
) As BuildItemGroup
public BuildItemGroup GetEvaluatedItemsByNameIgnoringCondition(
    string itemName
)
public:
BuildItemGroup^ GetEvaluatedItemsByNameIgnoringCondition(
    String^ itemName
)
member GetEvaluatedItemsByNameIgnoringCondition : 
        itemName:string -> BuildItemGroup
public function GetEvaluatedItemsByNameIgnoringCondition(
    itemName : String
) : BuildItemGroup

Parameters

  • itemName
    Type: System.String

    The name of the specified item collection.

Return Value

Type: Microsoft.Build.BuildEngine.BuildItemGroup
A BuildItemGroup containing all items belonging to the specified item collection, even those not used in the build process because a Condition attribute evaluated to false..

.NET Framework Security

See Also

Reference

Project Class

Microsoft.Build.BuildEngine Namespace