GenerateManifestBase.AddFileFromItem(ITaskItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.