Share via


Object.GetType Method

Gets the type of the current instance (object) of the Object class.

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

Syntax

[MethodImplAttribute]
public Type GetType ()

Return Value

The type object that represents the exact run-time type of the current object.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

Object Class
Object Members
System Namespace