Partilhar via


ProjectCollection.ContainsToolset(String) Method

Definition

Returns true if there is a toolset defined for the specified tools version, otherwise false.

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

Parameters

toolsVersion
String

The tools version to search for.

Returns

true if there is a toolset defined for the given tools version; otherwise, false.

Applies to