TaskItem.CloneCustomMetadata Method

Definition

Get the collection of custom metadata. This does not include built-in metadata.

C#
public System.Collections.IDictionary CloneCustomMetadata();

Returns

An IDictionary that represents a clone of the custom metadata.

Implements

Remarks

RECOMMENDED GUIDELINES FOR METHOD IMPLEMENTATIONS: 1) this method should return a clone of the metadata 2) writing to this dictionary should not be reflected in the underlying item.

Applies to

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