Share via


ProjectMetadataInstance Class

Definition

Wraps an evaluated piece of metadata for build purposes Added and removed via methods on the ProjectItemInstance object. IMMUTABLE OBJECT.

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)
Inheritance
ProjectMetadataInstance
Implements

Remarks

Added and removed via methods on the ProjectItemInstance object.

Properties

EvaluatedValue

Evaluated value of the metadatum. Never null.

Name

Name of the metadata

Methods

DeepClone()

Deep clone the metadata Strings are immutable (copy on write) so there is no work to do. Allows built-in metadata names, as they are still valid on the new metadatum.

ToString()

String representation handy for tracing

Explicit Interface Implementations

IEquatable<ProjectMetadataInstance>.Equals(ProjectMetadataInstance)

Compares this metadata to another for equivalence.

Applies to