Workspace.ApplyProjectReferenceRemoved(ProjectId, ProjectReference) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Metode ini dipanggil selama TryApplyChanges(Solution) untuk menghapus referensi proyek dari proyek.
Ambil alih metode ini untuk mengimplementasikan kemampuan menghapus referensi proyek.
protected:
virtual void ApplyProjectReferenceRemoved(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::ProjectReference ^ projectReference);
protected virtual void ApplyProjectReferenceRemoved(Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.ProjectReference projectReference);
abstract member ApplyProjectReferenceRemoved : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.ProjectReference -> unit
override this.ApplyProjectReferenceRemoved : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.ProjectReference -> unit
Protected Overridable Sub ApplyProjectReferenceRemoved (projectId As ProjectId, projectReference As ProjectReference)
Parameter
- projectId
- ProjectId
- projectReference
- ProjectReference