FormatterServices.GetTypeFromAssembly(Assembly, String) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
public:
static Type ^ GetTypeFromAssembly(System::Reflection::Assembly ^ assem, System::String ^ name);
public static Type? GetTypeFromAssembly(System.Reflection.Assembly assem, string name);
public static Type GetTypeFromAssembly(System.Reflection.Assembly assem, string name);
[System.Security.SecurityCritical]
public static Type GetTypeFromAssembly(System.Reflection.Assembly assem, string name);
static member GetTypeFromAssembly : System.Reflection.Assembly * string -> Type
[<System.Security.SecurityCritical>]
static member GetTypeFromAssembly : System.Reflection.Assembly * string -> Type
Public Shared Function GetTypeFromAssembly (assem As Assembly, name As String) As Type
Parâmetros
- assem
- Assembly
O assembly em que você deseja pesquisar o objeto.
- name
- String
O nome do objeto.
Retornos
O Type do objeto nomeado.
- Atributos
Exceções
O parâmetro assem é null.
O chamador não tem a permissão necessária.