SetObjectModified method (WinStudio scripts)

Applies To

IWSIDOCollection interface

Definition

Marks the object in a specified IDO collection as "modified", based on specified criteria.

Syntax

object.SetObjectModified( integer, Boolean )

  Part   Description
object Required. A reference to a valid IDO collection object.
integer Required. An integer indicating the index number of an object in the entries for the current IDO collection.
Boolean Required. Determines whether the object is marked as "modified".
  • TRUE: The object is marked as "modified".
  • FALSE: The object is not marked as "modified".

Example

Sub Main()
   Dim i As Integer
   Dim iTrueOrFalse As Boolean
   Dim oCacheObject As IWSIDOCollection
   iTrueOrFalse = Parameters.Item(0).GetValue(Of Boolean)()
   oCacheObject = ThisForm.Components(GetParameter(1)).IDOCollection
   For i = 0 To oCacheObject.GetNumEntries() - 1
      oCacheObject.SetObjectModified(i, iTrueOrFalse)
   Next i
End Sub