Please enable JavaScript to view this site.

Returns the number of occurrences of the specified attribute/value combination among the sibling configurations.

 

int SiblingsAttributeOcc(string name; string value; [bool includeSelf])

 

name

The name of an attribute.

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".

includeSelf

Optional argument to include current configuration in the attribute count. Default is false.

Example

SiblingsAttributeOcc("Connected", "True")

Returns the number of sibling configurations for which the Boolean attribute "Connected" is true. Current configuration is not included.

Remarks

It is recommended to place attributes that read the value of other configurations’ attributes at the bottom of the attribute tree to reduce the risk of circular dependencies. Another solution is to replace either the referenced or referencing attribute with a parameter that is set using a template expression rule.

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC