Workspace.CheckProjectHasMetadataReference メソッド

定義

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

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

パラメーター

projectId
ProjectId
metadataReference
MetadataReference

適用対象