다음을 통해 공유


Solution.GetProject 메서드

정의

오버로드

GetProject(ProjectId)

지정된 프로젝트 ID를 사용하여 이 솔루션의 프로젝트를 가져옵니다.

ID가 이 솔루션의 일부인 프로젝트의 ID가 아닌 경우 메서드는 null을 반환합니다.

GetProject(IAssemblySymbol, CancellationToken)

Project 어셈블리 기호와 연결된 항목을 가져옵니다.

GetProject(ProjectId)

Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs

지정된 프로젝트 ID를 사용하여 이 솔루션의 프로젝트를 가져옵니다.

ID가 이 솔루션의 일부인 프로젝트의 ID가 아닌 경우 메서드는 null을 반환합니다.

public:
 Microsoft::CodeAnalysis::Project ^ GetProject(Microsoft::CodeAnalysis::ProjectId ^ projectId);
public Microsoft.CodeAnalysis.Project GetProject (Microsoft.CodeAnalysis.ProjectId projectId);
public Microsoft.CodeAnalysis.Project? GetProject (Microsoft.CodeAnalysis.ProjectId? projectId);
member this.GetProject : Microsoft.CodeAnalysis.ProjectId -> Microsoft.CodeAnalysis.Project
Public Function GetProject (projectId As ProjectId) As Project

매개 변수

projectId
ProjectId

반환

적용 대상

GetProject(IAssemblySymbol, CancellationToken)

Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs

Project 어셈블리 기호와 연결된 항목을 가져옵니다.

public Microsoft.CodeAnalysis.Project GetProject (Microsoft.CodeAnalysis.IAssemblySymbol assemblySymbol, System.Threading.CancellationToken cancellationToken = default);
public Microsoft.CodeAnalysis.Project? GetProject (Microsoft.CodeAnalysis.IAssemblySymbol assemblySymbol, System.Threading.CancellationToken cancellationToken = default);
member this.GetProject : Microsoft.CodeAnalysis.IAssemblySymbol * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.Project
Public Function GetProject (assemblySymbol As IAssemblySymbol, Optional cancellationToken As CancellationToken = Nothing) As Project

매개 변수

assemblySymbol
IAssemblySymbol
cancellationToken
CancellationToken

반환

적용 대상