GetClassName
Description
Returns the name of a class in lowercase.
Syntax
|
1 |
GetClassName(pbclass cls) |
|
Argument |
Description |
|---|---|
|
cls |
A valid class handle |
Return value
LPCTSTR.
Examples
This example gets the name of a class and sets the size of the
variable stLength to the length of the returned string plus 1:
|
1 2 |
LPCTSTR myClassName = session->GetClassName( myClass ); size_t stLength = strlen( (LPSTR)myClassName ) + 1; |
Usage
When you have finished using the name, call the ReleaseString
method to free the memory acquired.
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest