ProjectMetadataInstance 类

定义

对计算元数据进行包装以进行生成。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)
继承
ProjectMetadataInstance
实现

注解

通过 ProjectItemInstance 对象上的方法添加和删除。Added and removed via methods on the ProjectItemInstance object.

属性

EvaluatedValue

获取或设置元数据的计算值。Gets or sets the evaluated value of the metadata.

Name

获取元数据的名称。Gets the name of the metadata.

方法

DeepClone()

复制元数据以创建深层克隆。Copies the metadata to create a deep clone.

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

显式接口实现

IEquatable<ProjectMetadataInstance>.Equals(ProjectMetadataInstance)

比较此项目元数据与给定项目元数据是否相等。Compares this project metadata with the given project metadata for equality.

适用于