ProjectPropertyInstance ProjectPropertyInstance ProjectPropertyInstance ProjectPropertyInstance Class

定義

包裝已評估的屬性,以供建置之用。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)
繼承
ProjectPropertyInstanceProjectPropertyInstanceProjectPropertyInstanceProjectPropertyInstance
實作

屬性

EvaluatedValue EvaluatedValue EvaluatedValue EvaluatedValue

取得或設定這個屬性的已評估值。Gets or sets the evaluated value of this property.

IsImmutable IsImmutable IsImmutable IsImmutable

如果這個物件可變動則傳回 true,否則傳回 false。Returns true if this object is immutable; false otherwise.

不可變的物件無法設定為可變動。An immutable object cannot be made mutable.

Name Name Name Name

取得這個屬性的名稱。Gets the name of this property.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

取得這個屬性的字串表示。Gets a string representation for this property.

明確介面實作

IEquatable<ProjectPropertyInstance>.Equals(ProjectPropertyInstance) IEquatable<ProjectPropertyInstance>.Equals(ProjectPropertyInstance) IEquatable<ProjectPropertyInstance>.Equals(ProjectPropertyInstance) IEquatable<ProjectPropertyInstance>.Equals(ProjectPropertyInstance)

比較這個專案屬性與指定的專案屬性是否相等。Compares this project property with the given project property for equality.

適用於