Share via


ProjectProperty.IsImported Property

Determines whether the property originates from an imported file.

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.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property IsImported As Boolean
public abstract bool IsImported { get; }
public:
virtual property bool IsImported {
    bool get () abstract;
}
abstract IsImported : bool with get
abstract function get IsImported () : boolean

Property Value

Type: System.Boolean
Returns true if the property originates from an imported file and not from an environment variable, a global property, or a reserved property. Returns false otherwise.

.NET Framework Security

See Also

Reference

ProjectProperty Class

Microsoft.Build.Evaluation Namespace