0 out of 3 rated this helpful - Rate this topic

Type.GetType Method

Gets a Type object that represents the specified type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method GetType() Gets the current Type.

In XNA Framework 3.0, this member is inherited from Object.GetType().


In Portable Class Library Portable Class Library, this member is inherited from Object.GetType().
Public method Static member GetType(String) Gets the Type with the specified name, performing a case-sensitive search.
Public method Static member GetType(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.
Public method Static member GetType(String, 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.
Public method Static member GetType(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.
Public method Static member GetType(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.
Public method Static member GetType(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.
Top
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
using Reflections to access an Enum and use "Enum.TryParse"
I have been trying to use Reflections to load an assembly in an XML file and use the data to check if a values i passed is a valid enum from the loaded assembly any ways of doing that....