Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Type.GetType Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a Type object that represents the specified type.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodGetType()

Gets the current Type.

System_CAPS_pubmethodSystem_CAPS_staticGetType(String)

Gets the Type with the specified name, performing a case-sensitive search.

System_CAPS_pubmethodSystem_CAPS_staticGetType(String, Boolean)

Gets the Type with the specified name, performing a case-sensitive search and specifying whether to throw an exception if the type is not found.

System_CAPS_pubmethodSystem_CAPS_staticGetType(String, Boolean, Boolean)

Gets the Type with the specified name, specifying whether to throw an exception if the type is not found and whether to perform a case-sensitive search.

System_CAPS_pubmethodSystem_CAPS_staticGetType(String, Func<AssemblyName, Assembly>, Func<Assembly, String, Boolean, Type>)

Gets the type with the specified name, optionally providing custom methods to resolve the assembly and the type.

System_CAPS_pubmethodSystem_CAPS_staticGetType(String, Func<AssemblyName, Assembly>, Func<Assembly, String, Boolean, Type>, Boolean)

Gets the type with the specified name, specifying whether to throw an exception if the type is not found, and optionally providing custom methods to resolve the assembly and the type.

System_CAPS_pubmethodSystem_CAPS_staticGetType(String, Func<AssemblyName, Assembly>, Func<Assembly, String, Boolean, Type>, Boolean, Boolean)

Gets the type with the specified name, specifying whether to perform a case-sensitive search and whether to throw an exception if the type is not found, and optionally providing custom methods to resolve the assembly and the type.

Return to top
Show:
© 2017 Microsoft