GetType Method (String)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the Type object with the specified name in the assembly instance.
Assembly: mscorlib (in mscorlib.dll)
- Type: System..::..String
The full name of the type.
Return ValueType: System..::..Type
An object that represents the specified class, or nullNothingnullptrunita null reference (Nothing in Visual Basic) if the class is not found.
This method only searches the current assembly instance. The name parameter includes the namespace but not the assembly. To search other assemblies for a type, use the Type..::..GetType(String) method overload, which can optionally include an assembly display name as part of the type name.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.