ProjectRootElement.TreatAsLocalProperty Property

Definition

Gets or sets the value of TreatAsLocalProperty. If there is no tag, returns empty string. If the value being set is null or empty, removes the attribute.

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

Property Value

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

Remarks

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

For more information about the TreatAsLocalProperty attribute, see Project Element (MSBuild) and How to: Build the Same Source Files with Different Options.

Applies to