ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMRangeVariable Class / Optional Property

Optional Property
Gets or sets a value indicating whether this variable is optional. If not, default values must be provided.
Syntax
public bool Optional {get; set;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also