AssemblyBuilder.GetType(String, Boolean, Boolean) Metodo

Definizione

Ottiene il tipo specificato dai tipi che sono stati definiti e creati nella classe AssemblyBuilder corrente.

public:
 override Type ^ GetType(System::String ^ name, bool throwOnError, bool ignoreCase);
public override Type? GetType (string name, bool throwOnError, bool ignoreCase);
public override Type GetType (string name, bool throwOnError, bool ignoreCase);
override this.GetType : string * bool * bool -> Type
Public Overrides Function GetType (name As String, throwOnError As Boolean, ignoreCase As Boolean) As Type

Parametri

name
String

Nome del tipo di cui eseguire la ricerca.

throwOnError
Boolean

true per generare un'eccezione se il tipo non viene trovato; in caso contrario false.

ignoreCase
Boolean

true per ignorare la distinzione tra maiuscole e minuscole nel nome del tipo durante la ricerca; in caso contrario, false.

Restituisce

Il tipo specificato o null se il tipo non viene trovato o non è ancora stato creato.

Commenti

Non è possibile trovare un tipo finché non è stato creato chiamando il CreateType metodo .

Si applica a