Export (0) Print
Expand All

ProjectItemDefinitionElement.AddMetadata Method

Adds metadata to this item definition. Appends the metadata to any existing metadata.

Namespace:  Microsoft.Build.Construction
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

public ProjectMetadataElement AddMetadata(
	string name,
	string unevaluatedValue
)

Parameters

name
Type: System.String

Name of the metadata.

unevaluatedValue
Type: System.String

Metadata to be added.

Return Value

Type: Microsoft.Build.Construction.ProjectMetadataElement
Returns the modified metadata.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft