Partager via


Workspace.CheckProjectHasProjectReference(ProjectId, ProjectReference) Méthode

Définition

Lève une exception si un projet n’a pas de référence de projet spécifique.

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

Paramètres

fromProjectId
ProjectId
projectReference
ProjectReference

S’applique à