Share via


ProjectItem.DirectMetadata Property

Definition

Metadata directly on the item, if any. Does not include metadata from item definitions. Does not include built-in metadata. Never returns null.

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

Property Value

An enumerator over all item metadata, which can never be null.

Remarks

Does not include metadata from item definitions. Does not include built-in metadata, such as "FullPath".

Applies to