ResetTypeInstanceOptions

These constants represent the options you can use with the options parameter of the Engine.ResetTypeInstances method. Use the bitwise-OR operator to specify more than one option.

Note Avoid using the ResetTypeInst_ResetFlags flag because it might result in unexpected behavior. In most cases, you should not reset certain flags on type instances. For example, the PropFlags_PassByReference flag is set on parameters of Sequence Call steps. Calling the Engine.ResetTypeInstances method on a type can change whether TestStand passes a sequence parameter that is an instance of the type by reference.
  • ResetTypeInst_NoOptions –(Value: 0x0) No options.
  • ResetTypeInst_RecurseSubProperties –(Value: 0x4) Resets flags or values of subproperties of type instances in addition to the top level object.
  • ResetTypeInst_ResetFlags –(Value: 0x2) Resets the property flags of type instances to the flags of the type definition.
  • ResetTypeInst_ResetValues –(Value: 0x1) Resets the property values of type instances to the value of the type definition.

See Also

Engine.ResetTypeInstances