共用方式為


ITaskItem2.CloneCustomMetadataEscaped Method

ITaskItem2 implementation which returns a clone of the metadata on this object. Values returned are in their original escaped form.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

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

Syntax

'Declaration
Function CloneCustomMetadataEscaped As IDictionary
IDictionary CloneCustomMetadataEscaped()
IDictionary^ CloneCustomMetadataEscaped()
abstract CloneCustomMetadataEscaped : unit -> IDictionary
function CloneCustomMetadataEscaped() : IDictionary

Return Value

Type: System.Collections.IDictionary
Returns the cloned metadata, with values' escaping preserved.

.NET Framework Security

See Also

Reference

ITaskItem2 Interface

Microsoft.Build.Framework Namespace