ToolsetCollection.Contains Method

Definition

Gets whether the collection contains the referenced Toolset.

Overloads

Contains(Toolset)

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

Determines whether or not this collection contains the given toolset.

Contains(String)

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

Determines whether the collection contains a Toolset with matching tools version.

Contains(Toolset)

Source:
ToolsetCollection.cs

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

Determines whether or not this collection contains the given toolset.

public:
 virtual bool Contains(Microsoft::Build::BuildEngine::Toolset ^ item);
public bool Contains (Microsoft.Build.BuildEngine.Toolset item);
abstract member Contains : Microsoft.Build.BuildEngine.Toolset -> bool
override this.Contains : Microsoft.Build.BuildEngine.Toolset -> bool
Public Function Contains (item As Toolset) As Boolean

Parameters

item
Toolset

Returns

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

Contains(String)

Source:
ToolsetCollection.cs

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

Determines whether the collection contains a Toolset with matching tools version.

public:
 bool Contains(System::String ^ toolsVersion);
public bool Contains (string toolsVersion);
member this.Contains : string -> bool
Public Function Contains (toolsVersion As String) As Boolean

Parameters

toolsVersion
String

Required. A string value representing the tools version associated with the Toolset.

Returns

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