ProjectMetadataInstance ProjectMetadataInstance ProjectMetadataInstance ProjectMetadataInstance Class

定義

包裝已評估的中繼資料,以供建置之用。Wraps an evaluated metadata for build purposes.

public ref class ProjectMetadataInstance : IEquatable<Microsoft::Build::Execution::ProjectMetadataInstance ^>
public class ProjectMetadataInstance : IEquatable<Microsoft.Build.Execution.ProjectMetadataInstance>
type ProjectMetadataInstance = class
    interface IEquatable<ProjectMetadataInstance>
Public Class ProjectMetadataInstance
Implements IEquatable(Of ProjectMetadataInstance)
繼承
ProjectMetadataInstanceProjectMetadataInstanceProjectMetadataInstanceProjectMetadataInstance
實作

備註

新增和移除方法透過ProjectItemInstance物件。Added and removed via methods on the ProjectItemInstance object.

屬性

EvaluatedValue EvaluatedValue EvaluatedValue EvaluatedValue

取得或設定中繼資料的已評估值。Gets or sets the evaluated value of the metadata.

Name Name Name Name

取得中繼資料的名稱。Gets the name of the metadata.

方法

DeepClone() DeepClone() DeepClone() DeepClone()

要建立深層複製之中繼資料的副本。Copies the metadata to create a deep clone.

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 of this metadata.

明確介面實作

IEquatable<ProjectMetadataInstance>.Equals(ProjectMetadataInstance) IEquatable<ProjectMetadataInstance>.Equals(ProjectMetadataInstance) IEquatable<ProjectMetadataInstance>.Equals(ProjectMetadataInstance) IEquatable<ProjectMetadataInstance>.Equals(ProjectMetadataInstance)

比較這個專案中繼資料與指定的專案中繼資料是否相等。Compares this project metadata with the given project metadata for equality.

適用於