ToolsetCollection.Item[String] 属性

定义

获取与指定的工具版本关联的 ToolsetGets the Toolset associated with the specified tools version.

public:
 property Microsoft::Build::BuildEngine::Toolset ^ default[System::String ^] { Microsoft::Build::BuildEngine::Toolset ^ get(System::String ^ toolsVersion); };
public Microsoft.Build.BuildEngine.Toolset this[string toolsVersion] { get; }
member this.Item(string) : Microsoft.Build.BuildEngine.Toolset
Default Public ReadOnly Property Item(toolsVersion As String) As Toolset

参数

toolsVersion
String

必需。Required. 一个字符串值,表示与所需 Toolset 关联的工具版本。A string value representing the tools version associated with the desired Toolset.

属性值

一个 Toolset 对象,表示与指定的 toolsVersion 匹配的工具集。A Toolset object representing the toolset that matches the specified toolsVersion.

适用于