Partilhar via


RelatedAssemblyAttribute.GetRelatedAssemblies(Assembly, Boolean) Método

Definição

Obtém Assembly instâncias 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

O assembly que contém RelatedAssemblyAttribute instâncias.

throwOnError
Boolean

Determina se o método é lançado se um assembly relacionado não pôde ser localizado.

Retornos

Instâncias relacionadas Assembly .

Aplica-se a