PropertyObjectFile.Requirements
- Updated2025-07-21
- 1 minute(s) read
PropertyObjectFile.Requirements
Syntax
PropertyObjectFile.Requirements
Data Type
Purpose
Returns the Requirements property for the file. The Links subproperty of the Requirements property is an array of string values that represents the product and unit requirements that the file covers.
Remarks
This property is valid for sequence files, project files, and workspace files. This property returns an error for all other file types.
You can use the following pseudocode to add a new element to the list of requirements:
PropertyObject links = propertyObjectFile.Requirements.GetPropertyObject("Links", 0); int nextAvailableIndex = links.GetNumElements(); links.SetValStringByOffset(nextAvailableIndex, PropertyOptions.PropOption_InsertElement, "REQ_ABC");