Gets the named type defined in the module.
[Visual Basic] Overloads Overrides Public Function GetType( _ ByVal className As String _ ) As Type [C#] public override Type GetType( string className ); [C++] public: override Type* GetType( String* className ); [JScript] public override function GetType( className : String ) : Type;
The requested type. Returns a null reference (in Visual Basic Nothing) if the type is not found.
Exception Type | Condition |
---|---|
ArgumentNullException | if className is a null reference (Nothing) |
NGWS Runtime Security:
ReflectionPermission | SecurityAction.Demand, ReflectionEmit |
ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace | ModuleBuilder.GetType Overload List