Compartilhar via


BuildPropertyGroup.Item Property

Gets or sets a BuildProperty object in this BuildPropertyGroup.

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 Default Property Item ( _
    propertyName As String _
) As BuildProperty
public BuildProperty this[
    string propertyName
] { get; set; }
public:
property BuildProperty^ default[String^ propertyName] {
    BuildProperty^ get (String^ propertyName);
    void set (String^ propertyName, BuildProperty^ value);
}
member Item : 
        propertyName:string -> BuildProperty with get, set
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.Build.BuildEngine.BuildProperty
A BuildProperty object in this BuildPropertyGroup.

.NET Framework Security

See Also

Reference

BuildPropertyGroup Class

Microsoft.Build.BuildEngine Namespace