共用方式為


BuildItem.Exclude Property

Definition

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Accessor for the item's "exclude" string.

public:
 property System::String ^ Exclude { System::String ^ get(); void set(System::String ^ value); };
public string Exclude { get; set; }
member this.Exclude : string with get, set
Public Property Exclude As String

Property Value

The Exclude attribute value of the item.

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to