Partager via


ProjectPropertyInstance Class

Wraps an evaluated property for build purposes. Instances of these properties are added and removed via methods on the ProjectInstance object.

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.ProjectPropertyInstance

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

Syntax

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

The ProjectPropertyInstance type exposes the following members.

Properties

  Name Description
Public property EvaluatedValue Gets or sets the evaluated value of this property. 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 IsImmutable Returns true if this object is immutable; false otherwise. An immutable object cannot be made mutable.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 this property.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 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 for this property.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<ProjectPropertyInstance>.Equals Compares this project property with the given project property 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

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