Compartilhar via


ProjectItemElement.Metadata Property

Gets all child metadata.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Construction
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public ReadOnly Property Metadata As ICollection(Of ProjectMetadataElement)
public ICollection<ProjectMetadataElement> Metadata { get; }
public:
property ICollection<ProjectMetadataElement^>^ Metadata {
    ICollection<ProjectMetadataElement^>^ get ();
}
member Metadata : ICollection<ProjectMetadataElement> with get
function get Metadata () : ICollection<ProjectMetadataElement>

Property Value

Type: ICollection<ProjectMetadataElement>
Returns all child metadata.

.NET Framework Security

See Also

Reference

ProjectItemElement Class

Microsoft.Build.Construction Namespace