Condividi tramite


Project.AddMetadataReferences(IEnumerable<MetadataReference>) Metodo

Definizione

Crea una nuova istanza di questo progetto aggiornata per includere i riferimenti ai metadati specificati oltre a quelli già esistenti.

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

Parametri

metadataReferences
IEnumerable<MetadataReference>

Restituisce

Si applica a