Partilhar via


ResolvedImport.ImportingElement Property

Gets the element doing the import.

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 ReadOnly Property ImportingElement As ProjectImportElement
public ProjectImportElement ImportingElement { get; }
public:
property ProjectImportElement^ ImportingElement {
    ProjectImportElement^ get ();
}
member ImportingElement : ProjectImportElement with get
function get ImportingElement () : ProjectImportElement

Property Value

Type: Microsoft.Build.Construction.ProjectImportElement
Returns the ProjectImportElement representing the element doing the import.

.NET Framework Security

See Also

Reference

ResolvedImport Structure

Microsoft.Build.Evaluation Namespace