Compartir a través de


Compilation.GetMetadataReference(IAssemblySymbol) Método

Definición

Obtiene el MetadataReference objeto que corresponde al símbolo del ensamblado.

public:
 Microsoft::CodeAnalysis::MetadataReference ^ GetMetadataReference(Microsoft::CodeAnalysis::IAssemblySymbol ^ assemblySymbol);
public Microsoft.CodeAnalysis.MetadataReference GetMetadataReference (Microsoft.CodeAnalysis.IAssemblySymbol assemblySymbol);
public Microsoft.CodeAnalysis.MetadataReference? GetMetadataReference (Microsoft.CodeAnalysis.IAssemblySymbol assemblySymbol);
member this.GetMetadataReference : Microsoft.CodeAnalysis.IAssemblySymbol -> Microsoft.CodeAnalysis.MetadataReference
Public Function GetMetadataReference (assemblySymbol As IAssemblySymbol) As MetadataReference

Parámetros

assemblySymbol
IAssemblySymbol

Símbolo de destino.

Devoluciones

Se aplica a