SetCurrentObjectPropertyInternal method (WinStudio scripts)

Applies To

IWSIDOCollection interface

Definition

Sets the value of a specified property of the current object in an IDO collection to an internal system value.

Syntax

object.SetCurrentObjectPropertyInternal( string1, string2 )

  Part   Description
object Required. A reference to a valid IDO collection object.
string1 Required. The name of the current object property.
string2 Required. The value of the current object property.

Remarks

This method does not mark the property as "modified" or notify dependents (such as components bound to the property) to refresh.

Note:  The difference between this and the SetCurrentObjectProperty method is that this one sets the value to a system internal value, whereas the SetCurrentObjectProperty method sets it to an interpretable value that might, for instance, be localized.

This is particularly applicable to date/time values. Localized date values can be displayed, for example, as dd/mm/yyyy, mm/dd/yyyy, or mm/dd/yy. When such a value is used, the system tries to interpret the appropriate display value for the property. A system internal value, however, uses the format yyyy/mm/dd, and it never changes. So, to use the internal value, your input value must conform to this format.