TaskItem.GetMetadata(String) Method

Definition

Retrieves one of the arbitrary metadata on the item. If not found, returns empty string.

C#
public string GetMetadata(string metadataName);

Parameters

metadataName
String

The name of the metadata to retrieve.

Returns

The metadata value.

Implements

Applies to

Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17