ProjectProperty ProjectProperty ProjectProperty ProjectProperty Class

定義

表示已評估的設計階段屬性。Represents an evaluated design-time property.

public ref class ProjectProperty abstract : IEquatable<Microsoft::Build::Evaluation::ProjectProperty ^>
public abstract class ProjectProperty : IEquatable<Microsoft.Build.Evaluation.ProjectProperty>
type ProjectProperty = class
    interface IEquatable<ProjectProperty>
Public MustInherit Class ProjectProperty
Implements IEquatable(Of ProjectProperty)
繼承
ProjectPropertyProjectPropertyProjectPropertyProjectProperty
實作

屬性

EvaluatedValue EvaluatedValue EvaluatedValue EvaluatedValue

取得已評估的屬性值。Gets the evaluated property value.

IsEnvironmentProperty IsEnvironmentProperty IsEnvironmentProperty IsEnvironmentProperty

判斷屬性是否源自環境變數。Determines whether the property originated from the environment variables.

IsGlobalProperty IsGlobalProperty IsGlobalProperty IsGlobalProperty

判斷屬性是否為全域屬性。Determines whether the property is a global property.

IsImported IsImported IsImported IsImported

判斷屬性是否源自已匯入的檔案。Determines whether the property originates from an imported file.

IsReservedProperty IsReservedProperty IsReservedProperty IsReservedProperty

判斷屬性是否為保留的屬性,例如 'MSBuildProjectFile'。Determines whether the property is a reserved property, for example 'MSBuildProjectFile'.

Name Name Name Name

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

Predecessor Predecessor Predecessor Predecessor

取得此屬性在評估期間覆寫的最後一個屬性。Gets the last property that was overridden by this property during evaluation.

Project Project Project Project

取得包含此屬性的專案。Gets the project that contains this property.

UnevaluatedValue UnevaluatedValue UnevaluatedValue UnevaluatedValue

取得或設定未評估的屬性值。Gets or sets the unevaluated property value.

Xml Xml Xml Xml

取得相關聯的屬性項目。Gets the associated property element. 支援 XML 屬性。Backing XML property. 如果這是全域、環境或內建屬性,則傳回 Null。Null only if this is a global, environment, or built-in property.

明確介面實作

IEquatable<ProjectProperty>.Equals(ProjectProperty) IEquatable<ProjectProperty>.Equals(ProjectProperty) IEquatable<ProjectProperty>.Equals(ProjectProperty) IEquatable<ProjectProperty>.Equals(ProjectProperty)

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

方法

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()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

適用於