ReleaseString – PB Docs 150
IPB_Session interface: ReleaseString method Description Frees the memory acquired using GetString, GetClassName, GetFieldName, or GetEnumItemName. Syntax
|
1 |
ReleaseString(LPCTSTR <span>string</span>) |
Argument Description string The string to be released from memory Return Values None. Examples The following example gets a pointer to each of two strings passed in as arguments, concatenates them in a new string, then releases the…
RemoveLocalRef – PB Docs 150
IPB_Session interface: RemoveLocalRef method Description Removes a local reference to the specified PowerBuilder object. Syntax
|
1 |
RemoveLocalRef (pbobject <span> obj</span>) |
Argument Description obj A valid PowerBuilder object handle Return Values None. See Also AddLocalRef PopLocalFrame PushLocalFrame Document get from Powerbuilder help Thank you for watching.
InvokeObjectFunction – PB Docs 150
IPB_Session interface: InvokeObjectFunction method Description Invokes a class member method. Syntax
|
1 |
InvokeObjectFunction(pbobject <span>obj</span>, pbmethodID <span>mid</span>, PBCallInfo *<span>ci</span>) |
Argument Description obj The pbobject containing the method mid The pbMethodID returned by GetMethodID ci A pointer to a preallocated PBCallInfo structure Return Values PBXRESULT. Returns PBX_OK for success, or one of the following for failure: PBX_E_INVALID_ARGUMENT PBX_E_INVOKE_METHOD_INACCESSABLE PBX_E_INVOKE_WRONG_NUM_ARGS PBX_E_INVOKE_REFARG_ERROR PBX_E_INVOKE_METHOD_AMBIGUOUS PBX_E_INVOKE_FAILURE PBX_E_INVOKE_FAILURE…
PBArrayAccessor template class – PB Docs 150
PBArrayAccessor template class Description There are two versions of the PBArrayAccessor template class. The first version is used to access the items in an array of a standard type. The second version is used to access items in a string array. The standard types are defined as ValueTypes in pbtraits.h and are pbint, pbuint, pbbyte,…
PBUnboundedArrayCreator template class – PB Docs 150
PBUnboundedArrayCreator template class Description There are two versions of the PBUnboundedArrayCreator template class. The first version is used to create an unbounded array of a standard type. The standard types are defined as ValueTypes in pbtraits.h and are pbint, pbbyte, pbuint, pblong, pblonglong, pbulong, pbboolean, pbreal, pbdouble, pbdec, pbdate, pbtime, pbdatetime, pbchar, pbblob, and pbstring….
ReleaseDateString – PB Docs 150
IPB_Session interface: ReleaseDateString method Description Frees the memory acquired using GetDateString. Syntax
|
1 |
ReleaseDateString(LPCTSTR <span>string</span>) |
Argument Description string The string to be released from memory Return Values None. See Also GetDateString Document get from Powerbuilder help Thank you for watching.
PBDOM exceptions – PB Docs 150
PBDOM exceptions PBDOM defines an exception class derived from the standard PowerBuilder Exception class. This class extends the Exception class with a method, GetExceptionCode, that returns the unique code that identifies the exception being thrown. The following table lists PBDOM exceptions and their code values. The circumstances in which each exception is thrown are described…
PBDOM objects – PB Docs 150
PBDOM objects PBDOM_OBJECT, the base class for PBDOM objects that represent XML nodes, inherits from the PowerBuilder NonVisualObject class. PBDOM represents node types by the following classes: PBDOM_ATTRIBUTE PBDOM_CDATA PBDOM_CHARACTERDATA PBDOM_COMMENT PBDOM_DOCTYPE PBDOM_DOCUMENT PBDOM_ELEMENT PBDOM_ENTITYREFERENCE PBDOM_PROCESSINGINSTRUCTION PBDOM_TEXT You use methods from these classes to access objects in a PBDOM node tree. The PBDOM_BUILDER class does…
GetSystemGroup – PB Docs 150
IPB_Session interface: GetSystemGroup method Description Returns a PowerBuilder internal system group. Syntax
|
1 |
GetSystemGroup() |
Return Values pbclass or null on error. Usage GetSystemGroup returns the PowerBuilder internal system group, which contains all the system types such as PowerObject, NonVisualObject, Structure, Window, CommandButton, and so on. You can use this system group to obtain a system class….
RemoveAttribute Syntax 1 – PB Docs 150
PBDOM_ELEMENT: RemoveAttribute Syntax 1 method Description Removes a PBDOM_ATTRIBUTE from its owner PBDOM_ELEMENT object. Syntax
|
1 |
<span>pbdom_element_name.</span>RemoveAttribute(pbdom_attribute <span>pbdom_attribute_ref</span>) |
Argument Description pbdom_element_name The name of a PBDOM_ELEMENT object pbdom_attribute_ref The PBDOM_ATTRIBUTE object to remove from this PBDOM_ELEMENT object Return Values Boolean. Returns true if the specified PBDOM_ATTRIBUTE was removed, and false otherwise. Document get from Powerbuilder help Thank…