Freigeben über


Project.GetItemsIgnoringCondition(String) Method

Definition

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.

Applies to