Partager via


ProjectItem.Project Property

Definition

Project that this item lives in. ProjectItems always live in a project.

public:
 property Microsoft::Build::Evaluation::Project ^ Project { Microsoft::Build::Evaluation::Project ^ get(); };
public Microsoft.Build.Evaluation.Project Project { get; }
public Microsoft.Build.Evaluation.Project Project { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.Project : Microsoft.Build.Evaluation.Project
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.Project : Microsoft.Build.Evaluation.Project
Public ReadOnly Property Project As Project

Property Value

The project that contains this project item.

Attributes

Remarks

Project items are always contained by a project.

Applies to