Partilhar via


ProjectProperty.Predecessor Property

Definition

Any immediately previous property that was overridden by this one during evaluation. This would include all properties with the same name that lie above in the logical project file, and whose conditions evaluated to true. If there are none above this is null. If the project has not been reevaluated since the last modification this value may be incorrect.

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

Property Value

The last property whose value was overridden by this property during evaluation, or null if the property has not been overridden.

Attributes

Remarks

This method searches for all properties with the same name that lie above in the logical project file, and whose conditions evaluate to true.

If the project has not been reevaluated since the last modification, this value may be incorrect.

Applies to