OptionParameterRestrictedToList Property

A list of Strings that the valueo f the parameter will be validated against.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
public bool RestrictedToList { get; set; }

Property Value

Boolean
If true, the parameter's value will be validated against the Strings in the OptionList.

Implements

ICapeOptionParameterSpecRestrictedToList

Remarks

If true, the parameter's value will be validated against the Strings in the OptionList.

Exceptions

ECapeUnknownThe error to be raised when other error(s), specified for this operation, are not suitable.
ECapeInvalidArgumentTo be used when an invalid argument value is passed, for example, an unrecognised Compound identifier or UNDEFINED for the props argument.

See Also