共用方式為


ProjectMetadataElement.ExpressedAsAttribute Property

Definition

Gets or sets whether this piece of metadata is expressed as an attribute.

public:
 property bool ExpressedAsAttribute { bool get(); void set(bool value); };
public bool ExpressedAsAttribute { get; set; }
member this.ExpressedAsAttribute : bool with get, set
Public Property ExpressedAsAttribute As Boolean

Property Value

Remarks

If true, then the metadata will be expressed as an attribute instead of a child element, for example <Reference Include="Libary.dll" HintPath="..\lib\Library.dll" Private="True" />

Applies to