共用方式為


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>

傳回

適用於