Project.GetItemsIgnoringCondition(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
All the items in the project of the specified type, irrespective of whether the conditions on them evaluated to true. This is a read-only list: use AddItem or RemoveItem to modify items in this project.
public:
System::Collections::Generic::ICollection<Microsoft::Build::Evaluation::ProjectItem ^> ^ GetItemsIgnoringCondition(System::String ^ itemType);
public System.Collections.Generic.ICollection<Microsoft.Build.Evaluation.ProjectItem> GetItemsIgnoringCondition (string itemType);
member this.GetItemsIgnoringCondition : string -> System.Collections.Generic.ICollection<Microsoft.Build.Evaluation.ProjectItem>
Public Function GetItemsIgnoringCondition (itemType As String) As ICollection(Of ProjectItem)
Parameters
- itemType
- String
The item type to be retrieved.
Returns
All the items in the project of the given type, whether or not their Condition attribute evaluates to true.
Remarks
This is a read-only list. Use AddItem or RemoveItem to modify items in this project.