Compartilhar via


ProjectRootElement.ToolsVersion Property

Definition

Gets or sets the value of ToolsVersion. If there is no ToolsVersion, returns empty string. If the value is null or empty, removes the attribute.

public:
 property System::String ^ ToolsVersion { System::String ^ get(); void set(System::String ^ value); };
public string ToolsVersion { get; set; }
member this.ToolsVersion : string with get, set
Public Property ToolsVersion As String

Property Value

The ToolsVersion attribute value, or an empty string if the ToolsVersion attribute is not present.

Remarks

Removes the ToolsVersion attribute if the value to set is an empty string or null.

Applies to