ProtectedObjectOptions Constants

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Use these constants with the PropertyObjectFile.Protection property or the PropertyObject.SetTypeDefinitionProtection method. These constants specify the protection level applied to the file or type definition.

  • ProtectedObjectOption_None–(Value: 0) Specifies a normal file or type definition with no protection.
  • ProtectedObjectOption_NotEditable–(Value: 1) Specifies that the file or type definition is not editable in the sequence editor or applications that use the TestStand User Interface (UI) Controls. This option does not prevent editing or access to the contents of the file or type definition using the TestStand API.
  • ProtectedObjectOption_NotViewable–(Value: 2) Specifies that the file is not viewable in the sequence editor or applications that use the TestStand UI Controls. This option does not prevent editing or access to the contents of the file using the TestStand API. The PropertyObject.SetTypeDefinitionProtection method does not support this option.

See Also

PropertyObject.GetTypeDefinitionProtection

PropertyObject.SetTypeDefinitionProtection

PropertyObjectFile.IsDiskFileReadOnly

PropertyObjectFile.Protection

WAS THIS ARTICLE HELPFUL?

Not Helpful