HBObject() > Methods for object inspection xHarbour Developers Network  

oHBObject:className()

Retrieves the name of the class an object belongs to.

Syntax

:className() --> cClassName

Return

The method returns a character string holding the name of the class.

Description

It is often required in object oriented programming to identify the exact class an object belongs to. This is accomplished by retrieving the object's class name with :className().


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe