Workspace.OnMetadataReferenceRemoved(ProjectId, MetadataReference) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從主環境中的專案移除中繼資料參考時,請呼叫此方法。
protected public:
void OnMetadataReferenceRemoved(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::MetadataReference ^ metadataReference);
protected internal void OnMetadataReferenceRemoved (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.MetadataReference metadataReference);
member this.OnMetadataReferenceRemoved : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.MetadataReference -> unit
Protected Friend Sub OnMetadataReferenceRemoved (projectId As ProjectId, metadataReference As MetadataReference)
參數
- projectId
- ProjectId
- metadataReference
- MetadataReference