Partager via


Workspace.CheckProjectDoesNotHaveProjectReference Méthode

Définition

Lève une exception si un projet a déjà une référence de projet spécifique.

protected:
 void CheckProjectDoesNotHaveProjectReference(Microsoft::CodeAnalysis::ProjectId ^ fromProjectId, Microsoft::CodeAnalysis::ProjectReference ^ projectReference);
protected void CheckProjectDoesNotHaveProjectReference (Microsoft.CodeAnalysis.ProjectId fromProjectId, Microsoft.CodeAnalysis.ProjectReference projectReference);
member this.CheckProjectDoesNotHaveProjectReference : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.ProjectReference -> unit
Protected Sub CheckProjectDoesNotHaveProjectReference (fromProjectId As ProjectId, projectReference As ProjectReference)

Paramètres

fromProjectId
ProjectId
projectReference
ProjectReference

S’applique à