다음을 통해 공유


Solution.WithProjectCompilationOptions(ProjectId, CompilationOptions) 메서드

정의

지정된 컴파일 옵션을 포함하도록 업데이트된 프로젝트를 사용하여 새 솔루션 인스턴스를 만듭니다.

public:
 Microsoft::CodeAnalysis::Solution ^ WithProjectCompilationOptions(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::CompilationOptions ^ options);
public Microsoft.CodeAnalysis.Solution WithProjectCompilationOptions (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.CompilationOptions options);
member this.WithProjectCompilationOptions : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.CompilationOptions -> Microsoft.CodeAnalysis.Solution
Public Function WithProjectCompilationOptions (projectId As ProjectId, options As CompilationOptions) As Solution

매개 변수

projectId
ProjectId

반환

적용 대상