Delen via


BuildItemGroup.Item Property

Gets or sets a BuildItem object in this BuildItemGroup.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As BuildItem
public BuildItem this[
    int index
] { get; }
public:
property BuildItem^ default[int index] {
    BuildItem^ get (int index);
}
member Item : 
        index:int -> BuildItem with get
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.Build.BuildEngine.BuildItem
A BuildItem object in this BuildItemGroup.

.NET Framework Security

See Also

Reference

BuildItemGroup Class

Microsoft.Build.BuildEngine Namespace