Share via


Project.RemoveMetadataReference(MetadataReference) Method

Definition

Creates a new instance of this project updated to no longer include the specified metadata reference.

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

Parameters

metadataReference
MetadataReference

Returns

Applies to