ProjectProperty.Predecessor Property

Definition

Gets the last property that was overridden by this property during evaluation.

public:
 abstract property Microsoft::Build::Evaluation::ProjectProperty ^ Predecessor { Microsoft::Build::Evaluation::ProjectProperty ^ get(); };
public abstract Microsoft.Build.Evaluation.ProjectProperty Predecessor { get; }
member this.Predecessor : Microsoft.Build.Evaluation.ProjectProperty
Public MustOverride 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.

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