Workspace.ApplyDocumentRemoved(DocumentId) 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 dokumen dari proyek.
Ambil alih metode ini untuk mengimplementasikan kemampuan menghapus dokumen.
protected:
virtual void ApplyDocumentRemoved(Microsoft::CodeAnalysis::DocumentId ^ documentId);
protected virtual void ApplyDocumentRemoved(Microsoft.CodeAnalysis.DocumentId documentId);
abstract member ApplyDocumentRemoved : Microsoft.CodeAnalysis.DocumentId -> unit
override this.ApplyDocumentRemoved : Microsoft.CodeAnalysis.DocumentId -> unit
Protected Overridable Sub ApplyDocumentRemoved (documentId As DocumentId)
Parameter
- documentId
- DocumentId