Sdílet prostřednictvím


Workspace.GetProjectName(ProjectId) Method

Definition

Gets the name to use for a project in an error message.

protected:
 virtual System::String ^ GetProjectName(Microsoft::CodeAnalysis::ProjectId ^ projectId);
protected virtual string GetProjectName (Microsoft.CodeAnalysis.ProjectId projectId);
abstract member GetProjectName : Microsoft.CodeAnalysis.ProjectId -> string
override this.GetProjectName : Microsoft.CodeAnalysis.ProjectId -> string
Protected Overridable Function GetProjectName (projectId As ProjectId) As String

Parameters

projectId
ProjectId

Returns

Applies to