Returns the number of occurrences of the specified parameter/value combination among the child configurations.
int ChildrenParameterOcc(string name; string value)
name |
The name of a parameter. |
value |
The value to find. For Boolean values enter "True" or "False". For numeric values use the invariant format. Search Microsoft's documentation about "NumberFormatInfo.InvariantInfo". |
Example
ChildrenParameterOcc("Color"; "Black")
Returns the number of child configurations for which the "Color" parameter has the value "Black".
ChildrenParameterOcc("Accessories.ColorMarking"; "True")
Returns the number of child configurations for which the multi-choice value "ColorMarking" of the multi-choice parameter "Accessories" has the value true.