Represents the collection of ParamObject objects, and returns information about the collection, such as:
Determining whether or not any more objects exist in the collection.
Returning the next object in the collection.
Resetting the collection.
Determines whether or not the collection contains more ParamObject objects.
object.HasMoreElements()
None.
Boolean. Returns TRUE if the collection contains more objects; otherwise, FALSE.
This example determines whether or not the collection contains more ParamObject objects.
set srv = createobject ("ucx:Server")
set srvparams = srv.Params
set paramObjs = Srvparams.GetObjects(1)
paramObjs.Reset
while (paramObjs.HasMoreElements)
set paramObj = paramObjs.Next
Print("Name is :" & paramObj.Name & " Value is " & paramObj.Value)
wend
Returns the next ParamObject object in the collection.
object.Next()
None.
ParamObject
This example returns the next ParamObject object in the collection.
set srv = createobject ("ucx:Server")
set srvparams = srv.Params
set paramObjs = Srvparams.GetObjects(1)
paramObjs.Reset
while (paramObjs.HasMoreElements)
set paramObj = paramObjs.Next
Print("Name is :" & paramObj.Name & " Value is " & paramObj.Value)
wend
Resets the collection.
object.Reset()
None.
Void.
This example resets the collection.
set srv = createobject ("ucx:Server")
set srvparams = srv.Params
set paramObjs = srvparams.GetObjects(1)
paramObjs.Reset
while (paramObjs.HasMoreElements=TRUE)
set paramObj=paramObjs.Next
print ("Name is " & paramObj.Name & " Value is " & paramObj.Value)
wend