ProjectItemDefinitionInstance.Metadata Property

Definition

Metadata on the item definition. If there is no metadata, returns empty collection. This is a read-only collection.

C#
public System.Collections.Generic.ICollection<Microsoft.Build.Execution.ProjectMetadataInstance> Metadata { get; }

Property Value

All the metadata for this item definition. If there is no metadata, returns empty collection.

Applies to

منتج الإصدارات
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17