次の方法で共有


ResolveProjectBase.GetProjectItem(ITaskItem) Method

Definition

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.

Applies to