Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ITaskItem.GetMetadata Method

Gets the value of the specified metadata entry.

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

string GetMetadata(
	string metadataName
)

Parameters

metadataName
Type: System.String

The name of the metadata entry.

Return Value

Type: System.String
The value of the attributeName metadata.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft