共用方式為


ProjectItemDefinition.Metadata Property

Definition

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

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

Property Value

An enumerator over all metadata for the item definition.

Remarks

This is a read-only collection.

Applies to