Freigeben über


ToolsetCollection.Add(Toolset) Method

Definition

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution Adds the given Toolset to this collection, replacing any previous value with the same tools version. Also notifies the parent Engine of the change.

public:
 virtual void Add(Microsoft::Build::BuildEngine::Toolset ^ item);
public void Add (Microsoft.Build.BuildEngine.Toolset item);
abstract member Add : Microsoft.Build.BuildEngine.Toolset -> unit
override this.Add : Microsoft.Build.BuildEngine.Toolset -> unit
Public Sub Add (item As Toolset)

Parameters

item
Toolset

Implements

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