GenerateManifestBase.FindFileFromItem(ITaskItem) Method

Definition

Returns the manifest file reference that matches the specified item.

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

protected public:
 Microsoft::Build::Tasks::Deployment::ManifestUtilities::FileReference ^ FindFileFromItem(Microsoft::Build::Framework::ITaskItem ^ item);
protected internal Microsoft.Build.Tasks.Deployment.ManifestUtilities.FileReference FindFileFromItem (Microsoft.Build.Framework.ITaskItem item);
member this.FindFileFromItem : Microsoft.Build.Framework.ITaskItem -> Microsoft.Build.Tasks.Deployment.ManifestUtilities.FileReference
Protected Friend Function FindFileFromItem (item As ITaskItem) As FileReference

Parameters

item
ITaskItem

The item to get a file reference for.

Returns

The manifest file reference that matches the specified item.

Remarks

If the file reference does not exist in the manifest for the specified item, then this method adds a file reference for this item.

Applies to