Condividi tramite


Workspace.CheckProjectDoesNotHaveMetadataReference Metodo

Definizione

Genera un'eccezione se un progetto ha già un riferimento ai metadati specifico.

protected:
 void CheckProjectDoesNotHaveMetadataReference(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::MetadataReference ^ metadataReference);
protected void CheckProjectDoesNotHaveMetadataReference (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.MetadataReference metadataReference);
member this.CheckProjectDoesNotHaveMetadataReference : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.MetadataReference -> unit
Protected Sub CheckProjectDoesNotHaveMetadataReference (projectId As ProjectId, metadataReference As MetadataReference)

Parametri

projectId
ProjectId
metadataReference
MetadataReference

Si applica a