次の方法で共有


Workspace.CheckProjectDoesNotHaveMetadataReference メソッド

定義

プロジェクトに特定のメタデータ参照が既に存在する場合は、例外をスローします。

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)

パラメーター

projectId
ProjectId
metadataReference
MetadataReference

適用対象