GetType Method
Collapse the table of content
Expand the table of content

Exception.GetType Method

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

Gets the runtime type of the current instance.

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

public Type GetType()

Return Value

Type: System.Type
A Type object that represents the exact runtime type of the current instance.

The GetType method exists to support the .NET Framework infrastructure, and internally invokes the fundamental method, Object.GetType.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft