CanonicalTrackedOutputFiles.OutputsForSource Method (array<ITaskItem , Boolean)
This method determines the outputs for a source root (as in the contents of a rooting marker), optionally searching composite rooting markers for subroots that may contain output files.
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.Utilities
Assembly: Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)
Syntax
'Declaration
Public Function OutputsForSource ( _
sources As ITaskItem(), _
searchForSubRootsInCompositeRootingMarkers As Boolean _
) As ITaskItem()
public ITaskItem[] OutputsForSource(
ITaskItem[] sources,
bool searchForSubRootsInCompositeRootingMarkers
)
public:
array<ITaskItem^>^ OutputsForSource(
array<ITaskItem^>^ sources,
bool searchForSubRootsInCompositeRootingMarkers
)
member OutputsForSource :
sources:ITaskItem[] *
searchForSubRootsInCompositeRootingMarkers:bool -> ITaskItem[]
public function OutputsForSource(
sources : ITaskItem[],
searchForSubRootsInCompositeRootingMarkers : boolean
) : ITaskItem[]
Parameters
sources
Type: array<Microsoft.Build.Framework.ITaskItem[]The sources to find outputs for.
searchForSubRootsInCompositeRootingMarkers
Type: System.BooleanIf true, search composite rooting markers for subroots.
Return Value
Type: array<Microsoft.Build.Framework.ITaskItem[]
Returns array of outputs for the source.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.