ProjectElement.Label Property

Definition

Gets or sets the Label value. Returns empty string if it is not present. Removes the attribute if the value to set is empty.

C#
public string Label { get; set; }

Property Value

The label, or an empty string if no label is present.

Remarks

Removes the attribute if the value to set is empty.

Applies to

Proizvod Verzije
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17