次の方法で共有


ProjectItemInstance.ITaskItem.CloneCustomMetadata Method

Definition

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.

Applies to