GetType Method

Type.GetType Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

  NameDescription
Public method GetType() Gets the current Type.
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.
Top

Show:
© 2016 Microsoft