Bagikan melalui


ProjectItemDefinitionInstance.MetadataNames Property

Gets an enumerator over the metadata names for this item definition. This is a read-only collection.

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.Execution
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public ReadOnly Property MetadataNames As IEnumerable(Of String)
public IEnumerable<string> MetadataNames { get; }
public:
property IEnumerable<String^>^ MetadataNames {
    IEnumerable<String^>^ get ();
}
member MetadataNames : IEnumerable<string> with get
function get MetadataNames () : IEnumerable<String>

Property Value

Type: IEnumerable<String>
Returns an enumerator over the metadata names for this item definition.

.NET Framework Security

See Also

Reference

ProjectItemDefinitionInstance Class

Microsoft.Build.Execution Namespace