Прочетете на английски

Споделяне чрез


ProjectProperty.IsImported Property

Definition

If the property originated in an imported file, returns true. If the property originates from the environment, a global property, or is a built-in property, returns false. Otherwise returns false.

C#
public abstract bool IsImported { get; }
C#
public bool IsImported { get; }

Property Value

true if the property originates from an imported file and not from an environment variable, a global property, or a reserved property; otherwise, false.

Applies to

Продукт Версии
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17