Bagikan melalui


GenerateManifestBase.AddFileFromItem(ITaskItem) Method

Definition

Adds a file reference to the manifest, based on 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 ^ AddFileFromItem(Microsoft::Build::Framework::ITaskItem ^ item);
protected internal Microsoft.Build.Tasks.Deployment.ManifestUtilities.FileReference AddFileFromItem (Microsoft.Build.Framework.ITaskItem item);
member this.AddFileFromItem : Microsoft.Build.Framework.ITaskItem -> Microsoft.Build.Tasks.Deployment.ManifestUtilities.FileReference
Protected Friend Function AddFileFromItem (item As ITaskItem) As FileReference

Parameters

item
ITaskItem

The item from which to create the file reference to add to the manifest.

Returns

The file reference that was added to the manifest.

Applies to