Share via


ProjectMetadataInstance Class

Wraps an evaluated metadata for build purposes.

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.

Inheritance Hierarchy

System.Object
  Microsoft.Build.Execution.ProjectMetadataInstance

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

Syntax

'Declaration
Public Class ProjectMetadataInstance _
    Implements IEquatable(Of ProjectMetadataInstance)
public class ProjectMetadataInstance : IEquatable<ProjectMetadataInstance>
public ref class ProjectMetadataInstance : IEquatable<ProjectMetadataInstance^>
type ProjectMetadataInstance =  
    class 
        interface IEquatable<ProjectMetadataInstance>
    end
public class ProjectMetadataInstance implements IEquatable<ProjectMetadataInstance>

The ProjectMetadataInstance type exposes the following members.

Properties

  Name Description
Public property EvaluatedValue Gets or sets the evaluated value of the metadata. 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 Name Gets the name of the metadata.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 DeepClone Copies the metadata to create a deep clone.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 method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Gets a string representation of this metadata.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. (Overrides Object.ToString().)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEquatable<ProjectMetadataInstance>.Equals Compares this project metadata with the given project metadata for equality.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

Remarks

Added and removed via methods on the ProjectItemInstance object.

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.Execution Namespace