Partager via


ProjectItemGroupTaskInstance Class

Wraps an unevaluated itemgroup under a target. Immutable.

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.

Inheritance Hierarchy

System.Object
  Microsoft.Build.Execution.ProjectTargetInstanceChild
    Microsoft.Build.Execution.ProjectItemGroupTaskInstance

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

Syntax

'Declaration
Public Class ProjectItemGroupTaskInstance _
    Inherits ProjectTargetInstanceChild
public class ProjectItemGroupTaskInstance : ProjectTargetInstanceChild
public ref class ProjectItemGroupTaskInstance : public ProjectTargetInstanceChild
type ProjectItemGroupTaskInstance =  
    class 
        inherit ProjectTargetInstanceChild 
    end
public class ProjectItemGroupTaskInstance extends ProjectTargetInstanceChild

The ProjectItemGroupTaskInstance type exposes the following members.

Properties

  Name Description
Public property Condition Gets or sets the Condition attribute of this project element.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. (Overrides ProjectTargetInstanceChild.Condition.)
Public property ConditionLocation Location of the condition, if anyMSBuild 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. (Overrides ProjectTargetInstanceChild.ConditionLocation.)
Public property FullPath Gets the full path to the file from which this task originated. 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. (Inherited from ProjectTargetInstanceChild.)
Public property Items Gets all child items of this item definition.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.
Public property Location Location of the original elementMSBuild 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. (Overrides ProjectTargetInstanceChild.Location.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Build.Execution Namespace