This documentation is archived and is not being maintained.

ModuleBuilder.GetType Method

Gets a named type defined in the module.

Overload List

Gets the named type defined in the module.

[Visual Basic] Overloads Overrides Public Function GetType(String) As Type
[C#] public override Type GetType(string);
[C++] public: Type* GetType(String*);
[JScript] public override function GetType(String) : Type;

Gets the named type defined in the module optionally ignoring the case of the type name.

[Visual Basic] Overloads Overrides Public Function GetType(String, Boolean) As Type
[C#] public override Type GetType(string, bool);
[C++] public: Type* GetType(String*, bool);
[JScript] public override function GetType(String, Boolean) : Type;

Gets the named type defined in the module optionally ignoring the case of the type name. Optionally throws an exception if the type is not found.

[Visual Basic] Overloads Overrides Public Function GetType(String, Boolean, Boolean) As Type
[C#] public override Type GetType(string, bool, bool);
[C++] public: Type* GetType(String*, bool, bool);
[JScript] public override function GetType(String, Boolean, Boolean) : Type;

Inherited from Object.

[Visual Basic] Overloads Public Function GetType() As Type
[C#] public Type GetType();
[C++] public: Type* GetType();
[JScript] public function GetType() : Type;

See Also

ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace

Show: