ProjectPropertyInstance 类

定义

对计算属性进行包装以进行生成。Wraps an evaluated property for build purposes. 通过 ProjectInstance 对象上的方法添加和移除。Added and removed via methods on the ProjectInstance object.

public ref class ProjectPropertyInstance : IEquatable<Microsoft::Build::Execution::ProjectPropertyInstance ^>
public class ProjectPropertyInstance : IEquatable<Microsoft.Build.Execution.ProjectPropertyInstance>
type ProjectPropertyInstance = class
    interface IEquatable<ProjectPropertyInstance>
Public Class ProjectPropertyInstance
Implements IEquatable(Of ProjectPropertyInstance)
继承
ProjectPropertyInstance
实现

属性

EvaluatedValue

属性的计算值。Evaluated value of the property. Setter 假设调用方具有受保护的全局属性,如有必要,Setter 假设调用方仅在 PROJECTINSTANCE 可变的情况下调用,因为它不能始终进行验证。Setter assumes caller has protected global properties, if necessary SETTER ASSUMES CALLER ONLY CALLS IF PROJECTINSTANCE IS MUTABLE because it cannot always be verified.

IsImmutable

此对象是否是不变的。Whether this object is immutable. 一个不可变的对象无法进行可变。An immutable object can not be made mutable.

Name

属性的名称Name of the property

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

方便跟踪的字符串表示形式String representation handy for tracing

显式接口实现

IEquatable<ProjectPropertyInstance>.Equals(ProjectPropertyInstance)

将此属性与另一个属性进行比较,确定是否相等。Compares this property to another for equivalence.

适用于