Udostępnij za pośrednictwem


ResolveProjectBase.GetProjectElement(ITaskItem) Method

Definition

Helper method for retrieving the XML element for the given project

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

protected:
 System::Xml::XmlElement ^ GetProjectElement(Microsoft::Build::Framework::ITaskItem ^ projectRef);
protected System.Xml.XmlElement GetProjectElement (Microsoft.Build.Framework.ITaskItem projectRef);
member this.GetProjectElement : Microsoft.Build.Framework.ITaskItem -> System.Xml.XmlElement
Protected Function GetProjectElement (projectRef As ITaskItem) As XmlElement

Parameters

projectRef
ITaskItem

The project reference item.

Returns

The project element.

Applies to