ProjectInfo.WithMetadataReferences 方法

定义

public:
 Microsoft::CodeAnalysis::ProjectInfo ^ WithMetadataReferences(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::MetadataReference ^> ^ metadataReferences);
public Microsoft.CodeAnalysis.ProjectInfo WithMetadataReferences (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.MetadataReference> metadataReferences);
public Microsoft.CodeAnalysis.ProjectInfo WithMetadataReferences (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.MetadataReference>? metadataReferences);
member this.WithMetadataReferences : seq<Microsoft.CodeAnalysis.MetadataReference> -> Microsoft.CodeAnalysis.ProjectInfo
Public Function WithMetadataReferences (metadataReferences As IEnumerable(Of MetadataReference)) As ProjectInfo

参数

metadataReferences
IEnumerable<MetadataReference>

返回

适用于