ProjectItemInstance.Metadata Property

Definition

Unordered collection of evaluated metadata on the item. If there is no metadata, returns an empty collection. Does not include built-in metadata. Includes any from item definitions. This is a read-only collection. To modify the metadata, use SetMetadata(String, String).

public:
 property System::Collections::Generic::IEnumerable<Microsoft::Build::Execution::ProjectMetadataInstance ^> ^ Metadata { System::Collections::Generic::IEnumerable<Microsoft::Build::Execution::ProjectMetadataInstance ^> ^ get(); };
public System.Collections.Generic.IEnumerable<Microsoft.Build.Execution.ProjectMetadataInstance> Metadata { get; }
member this.Metadata : seq<Microsoft.Build.Execution.ProjectMetadataInstance>
Public ReadOnly Property Metadata As IEnumerable(Of ProjectMetadataInstance)

Property Value

An enumerator over the evaluated metadata of the item.

Remarks

Does not include built-in metadata or metadata from item definitions.

To modify the metadata, use SetMetadata.

Applies to