|
of_getobjects
|
|
Full name
|
pfc_u_tvs.of_getobjects
|
Access
|
protected
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
protected function integer of_getobjects(ref powerobject[])
|
protected function integer of_getobjects (ref powerobject apo_objects[]);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_GetObjects
//
// Access: protected
//
// Arguments:
// apo_objects[] An array of objects on which the update process will take effect
// passed by reference.
//
// Returns: integer
// # of objects in the array
// -1 = error
//
// Description:
// Gets the current objects for which an updates will be attempted.
//
// If another service is added to the tree, this event will need to be extended or
// overridden to get those objects which need updates.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 Sybase, Inc. and its subsidiaries. All rights reserved.
// Any distribution of the PowerBuilder Foundation Classes (PFC)
// source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
// Determine the datasource.
If IsValid(inv_levelsource) Then
If inv_levelsource.of_GetObjects(apo_objects) < 1 then Return -1
Return upperbound(apo_objects)
End If
Return -1
end function