IPB_Session interface:
GetClassName method
Description
Returns the name of a class in lowercase.
Syntax
1 |
GetClassName(pbclass <span>cls</span>) |
Argument |
Description |
---|---|
cls |
A valid class handle |
Return Values
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 |
LPCTSTR myClassName = session->GetClassName( myClass );<br>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