ProjectRootElement.DefaultTargets Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the value of DefaultTargets. If there is no DefaultTargets, returns empty string. If the value is null or empty, removes the attribute.
public:
property System::String ^ DefaultTargets { System::String ^ get(); void set(System::String ^ value); };
public string DefaultTargets { get; set; }
member this.DefaultTargets : string with get, set
Public Property DefaultTargets As String
Property Value
The value of the DefaultTargets attribute, or an empty string if the DefaultTargets attribute is not present.
Remarks
Removes the DefaultTargets attribute if the value to set is an empty string or null.