AssemblyBuilder.GetType(String, Boolean, Boolean) Metodo

Definizione

Ottiene il tipo specificato dai tipi definiti e creati nell'oggetto corrente AssemblyBuilder.

public:
 override Type ^ GetType(System::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 da cercare.

throwOnError
Boolean

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

ignoreCase
Boolean

true per ignorare il caso del nome del tipo durante la ricerca; in caso contrario, false.

Valori restituiti

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

Commenti

Impossibile trovare un tipo finché non viene creato chiamando il CreateType metodo .

Si applica a