ProjectPropertyInstance 类

定义

对计算属性进行包装以进行生成。Wraps an evaluated property for build purposes. 可通过 ProjectInstance 对象上的方法添加和移除这些属性的实例。Instances of these properties are 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

获取或设置此属性的计算值。Gets or sets the evaluated value of this property.

IsImmutable

如果此对象是不可变的,则返回 true;否则返回 false。Returns true if this object is immutable; false otherwise.

一个不可变的对象无法进行可变。An immutable object cannot be made mutable.

Name

获取此属性的名称。Gets the name of this 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()

获取此属性的字符串表示形式。Gets a string representation for this property.

显式接口实现

IEquatable<ProjectPropertyInstance>.Equals(ProjectPropertyInstance)

比较此项目属性与给定项目属性是否相等。Compares this project property with the given project property for equality.

适用于