Partager 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 the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

Object Class
Object Members
System Namespace