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

Exception::GetType Method ()


Gets the runtime type of the current instance.

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

virtual Type^ GetType() sealed

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.

.NET Framework
Available since 2.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft