Op Englesch liesen

Deelen iwwer


ProjectMetadataInstance Class

Definition

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

C#
public class ProjectMetadataInstance : IEquatable<Microsoft.Build.Execution.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

Produkt Versiounen
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17