NewUnboundedSimpleArray – PB Docs 126
IPB_Session interface: NewUnboundedSimpleArray method Description Creates an unbounded simple data array. Syntax
|
1 |
NewUnboundedSimpleArray(pbuint <span>type</span>) |
Argument Description type An enumerated variable of type pbvalue_* indicating the type of simple unbounded array to be created Return Values pbarray or null on failure. Examples This example creates an unbounded simple data array of the type returned by the getDataType…
Step 6: Build a PBX – PB Docs 126
Step 6: Build a PBX Using your C++ development tool or the command line, build a PBX from your C++ classes. When you compile and link the C++ code, verify the following: The include directory for the PBNI SDK, typically PowerBuilder 12.6SDKPBNIinclude, must be in your include path. If you use any helper classes, make…
GetTimeString – PB Docs 126
IPB_Session interface: GetTimeString method Description Converts data in a pbtime object to a string. Syntax
|
1 |
GetTimeString(pbtime <span>time</span>) |
Argument Description time The pbtime data object to be converted to a string. Return Values LPCTSTR. See Also NewString ReleaseTimeString SetString Document get from Powerbuilder help Thank you for watching.
PBDOM Summary – PB Docs 126
PBDOM Summary About this chapter This chapter provides a quick reference to the methods of PBDOM base classes and additional methods provided by inherited classes. Document get from Powerbuilder help Thank you for watching.
AddGlobalRef – PB Docs 126
IPB_Session interface: AddGlobalRef method Description Adds a global reference to the specified PowerBuilder object. Syntax
|
1 |
AddGlobalRef (pbobject <span> obj</span>) |
Argument Description obj A valid PowerBuilder object handle Return Values pbclass or null on error. Examples This example checks whether a return value is null, and if it is not, adds a global reference to it to the session:…
Summary of PBDOM classes and methods – PB Docs 126
Summary of PBDOM classes and methods PBDOM_OBJECT inherited from PowerBuilder NonVisualObject addcontent ( pbdom_object pbdom_object_ref ) returns pbdom_objectclone ( boolean bdeep ) returns pbdom_objectdetach ( ) returns pbdom_object equals ( pbdom_object pbdom_object_ref ) returns boolean getcontent ( ref pbdom_object pbdom_object_array[] ) returns boolean getname ( ) returns string getobjectclass ( ) returns long getobjectclassstring (…
EXCEPTION_INVALID_STRING – PB Docs 126
EXCEPTION_INVALID_STRING Code Value: 16 This exception is thrown when a string is supplied as a parameter to a method that sets a text or attribute value, and the string contains characters that do not conform to the W3C specifications for acceptable XML characters. Methods in which this exception might be thrown include SetText in PBDOM_ATTRIBUTE…
EXCEPTION_HIERARCHY_ERROR – PB Docs 126
EXCEPTION_HIERARCHY_ERROR Code Value: 18 This exception is thrown when a method call violates the well-formedness or validity of a PBDOM_DOCUMENT. Document get from Powerbuilder help Thank you for watching.
GetActualClass – PB Docs 126
JavaVM: GetActualClass method Description Returns the class of the Java object that a PowerBuilder proxy object represents. Syntax
|
1 |
<span>javavm</span>.GetActualClass(powerobject <span>proxyobject</span><span></span>) |
Argument Description javavm An instance of the JavaVM class proxyobject An instantiated PowerBuilder proxy object Return Values String Usage If an EJB method is defined to return a Java class that is not the actual object…
SetAttribute Syntax 2 – PB Docs 126
PBDOM_ELEMENT: SetAttribute Syntax 2 method Description Adds a PBDOM_ATTRIBUTE object and its value to a PBDOM_ELEMENT object. Any existing attribute with the same name and namespace URI is overwritten. Syntax
|
1 |
<span>pbdom_element_name.</span>SetAttribute(string <span>strName</span>, string <span>strValue</span>) |
Argument Description pbdom_element_name The name of a PBDOM_ELEMENT object strName The name of the PBDOM_ATTRIBUTE to be added strValue The value of the PBDOM_ATTRIBUTE…