Please enable JavaScript to view this site.

Returns the number of occurrences of the specified attribute/value combination among the sibling configurations with a lower index.

 

int PrevSiblingsAttributeOcc(string name; string value)

 

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

Example

PrevSiblingsAttributeOcc("Connected", "True")

Returns the number of sibling configurations with a lower index for which the Boolean attribute "Connected" is true.

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