ProjectItemInstance.ITaskItem.CloneCustomMetadata Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ITaskItem implementation
virtual System::Collections::IDictionary ^ Microsoft.Build.Framework.ITaskItem.CloneCustomMetadata() = Microsoft::Build::Framework::ITaskItem::CloneCustomMetadata;
System.Collections.IDictionary ITaskItem.CloneCustomMetadata ();
abstract member Microsoft.Build.Framework.ITaskItem.CloneCustomMetadata : unit -> System.Collections.IDictionary
override this.Microsoft.Build.Framework.ITaskItem.CloneCustomMetadata : unit -> System.Collections.IDictionary
Function CloneCustomMetadata () As IDictionary Implements ITaskItem.CloneCustomMetadata
Returns
The collection of custom metadata.
Implements
Remarks
Does not include built-in metadata.
This method should return a clone of the metadata.
Writing to this dictionary should not be reflected in the underlying item.