Type.GetType Method

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

Gets the current Type.

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

Syntax

Public Function GetType As Type
public Type GetType()

Return Value

Type: System..::.Type
The current Type.

Exceptions

Exception Condition
TargetInvocationException

A class initializer is invoked and throws an exception.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Type Class

GetType Overload

System Namespace

TypeLoadException