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

返回

适用于