次の方法で共有


Copy.DestinationFiles Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets a list of files to copy the source files to.

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.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
<OutputAttribute> _
Public Property DestinationFiles As ITaskItem()
[OutputAttribute]
public ITaskItem[] DestinationFiles { get; set; }
[OutputAttribute]
public:
property array<ITaskItem^>^ DestinationFiles {
    array<ITaskItem^>^ get ();
    void set (array<ITaskItem^>^ value);
}
[<OutputAttribute>]
member DestinationFiles : ITaskItem[] with get, set
function get DestinationFiles () : ITaskItem[]
function set DestinationFiles (value : ITaskItem[])

Property Value

Type: array<Microsoft.Build.Framework.ITaskItem[]
The list of files to copy the source files to.

Remarks

The list of destination files is expected to be a one-to-one mapping with the list specified in the SourceFiles property. That is, the first file specified in SourceFiles will be copied to the first location specified in DestinationFiles, and so forth.

.NET Framework Security

See Also

Reference

Copy Class

Microsoft.Build.Tasks Namespace