Compartir a través de


RelatedAssemblyAttribute.GetRelatedAssemblies(Assembly, Boolean) Método

Definición

Obtiene Assembly instancias especificadas por RelatedAssemblyAttribute.

public:
 static System::Collections::Generic::IReadOnlyList<System::Reflection::Assembly ^> ^ GetRelatedAssemblies(System::Reflection::Assembly ^ assembly, bool throwOnError);
public static System.Collections.Generic.IReadOnlyList<System.Reflection.Assembly> GetRelatedAssemblies (System.Reflection.Assembly assembly, bool throwOnError);
static member GetRelatedAssemblies : System.Reflection.Assembly * bool -> System.Collections.Generic.IReadOnlyList<System.Reflection.Assembly>
Public Shared Function GetRelatedAssemblies (assembly As Assembly, throwOnError As Boolean) As IReadOnlyList(Of Assembly)

Parámetros

assembly
Assembly

Ensamblado que contiene RelatedAssemblyAttribute instancias.

throwOnError
Boolean

Determina si el método produce si no se pudo encontrar un ensamblado relacionado.

Devoluciones

Instancias relacionadas Assembly .

Se aplica a