Bagikan melalui


CreateItem.Exclude Property

Definition

Gets or sets the items to exclude from the output item collection.

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

public:
 property cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ Exclude { cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ get(); void set(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ value); };
public Microsoft.Build.Framework.ITaskItem[] Exclude { get; set; }
public Microsoft.Build.Framework.ITaskItem[] Exclude { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.Exclude : Microsoft.Build.Framework.ITaskItem[] with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.Exclude : Microsoft.Build.Framework.ITaskItem[] with get, set
Public Property Exclude As ITaskItem()

Property Value

The items to exclude from the output item collection.

Attributes

Remarks

This property can contain wildcard specifications. For more information, see MSBuild Items and How to: Exclude Files from the Build.

Applies to