ResolveProjectBase.GetProjectItem(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.
Helper method for retrieving whatever was stored in the XML string for the given project
This API supports the product infrastructure and is not intended to be used directly from your code.
protected:
System::String ^ GetProjectItem(Microsoft::Build::Framework::ITaskItem ^ projectRef);
protected string GetProjectItem (Microsoft.Build.Framework.ITaskItem projectRef);
member this.GetProjectItem : Microsoft.Build.Framework.ITaskItem -> string
Protected Function GetProjectItem (projectRef As ITaskItem) As String
Parameters
- projectRef
- ITaskItem
A project reference that contains a project GUID attribute.
Returns
The XML contents of the project element of the specified project.