Dela via


ResolvedImport Structure

Encapsulates an import relationship in an evaluated project between a ProjectImportElement and the ProjectRootElement of the imported project.

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 Structure ResolvedImport
public struct ResolvedImport
public value class ResolvedImport
[<Sealed>]
type ResolvedImport =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The ResolvedImport type exposes the following members.

Properties

  Name Description
Public property ImportedProject Gets one of the imported projects.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.
Public property ImportingElement 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.
Public property IsImported Gets a flag which determines if the importing element is itself imported.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.

Top

Methods

  Name Description
Public method Equals (Inherited from ValueType.)
Public method GetHashCode (Inherited from ValueType.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from ValueType.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Build.Evaluation Namespace