共用方式為


ITaskItem.MetadataCount Property

Gets the number of metadata entries associated with the item.

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

Syntax

'Declaration
ReadOnly Property MetadataCount As Integer
int MetadataCount { get; }
property int MetadataCount {
    int get ();
}
abstract MetadataCount : int with get
function get MetadataCount () : int

Property Value

Type: System.Int32
The number of metadata entries associated with the item.

.NET Framework Security

See Also

Reference

ITaskItem Interface

Microsoft.Build.Framework Namespace