ToolsetCollection.Add(Toolset) Method

Definition

Adds the specified Toolset to this collection.

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

A Toolset object representing the Toolset to add to the collection.

Implements

Remarks

Add replaces any previous value that has the same tools version. It also notifies the parent Engine of the change.

Applies to