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.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

String representation handy for tracing

Explicit Interface Implementations

IEquatable<ProjectMetadataInstance>.Equals(ProjectMetadataInstance)

Compares this metadata to another for equivalence.

Applies to