共用方式為


CommandLineToolSwitch.TaskItemArray Property

Gets or sets an array of task items.

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

Syntax

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

Property Value

Type: array<Microsoft.Build.Framework.ITaskItem[]
The array of task items.

.NET Framework Security

See Also

Reference

CommandLineToolSwitch Class

Microsoft.Build.Tasks.Xaml Namespace