共用方式為


Project.RemoveMetadataReference(MetadataReference) 方法

定義

建立已更新此專案的新實例,不再包含指定的中繼資料參考。

public:
 Microsoft::CodeAnalysis::Project ^ RemoveMetadataReference(Microsoft::CodeAnalysis::MetadataReference ^ metadataReference);
public Microsoft.CodeAnalysis.Project RemoveMetadataReference (Microsoft.CodeAnalysis.MetadataReference metadataReference);
member this.RemoveMetadataReference : Microsoft.CodeAnalysis.MetadataReference -> Microsoft.CodeAnalysis.Project
Public Function RemoveMetadataReference (metadataReference As MetadataReference) As Project

參數

metadataReference
MetadataReference

傳回

適用於