Partager via


ProjectTargetInstanceChild Class

Abstracts the ProjectTaskInstance, ProjectPropertyGroupTaskInstance and ProjectItemGroupTaskInstance classes. This allows these types to be used in a single collection of target children

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
    Microsoft.Build.Execution.ProjectOnErrorInstance
    Microsoft.Build.Execution.ProjectPropertyGroupTaskInstance
    Microsoft.Build.Execution.ProjectTaskInstance

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

Syntax

'Declaration
Public MustInherit Class ProjectTargetInstanceChild
public abstract class ProjectTargetInstanceChild
public ref class ProjectTargetInstanceChild abstract
[<AbstractClass>]
type ProjectTargetInstanceChild =  class end
public abstract class ProjectTargetInstanceChild

The ProjectTargetInstanceChild type exposes the following members.

Constructors

  Name Description
Protected method ProjectTargetInstanceChild Abstract classes cannot be instantiated.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.

Top

Properties

  Name Description
Public property Condition Gets or sets the Condition attribute of this target.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 ConditionLocation Gets the location of the Condition attribute.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 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.
Public property Location Gets the location of the element itself.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.

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