You are here: Object Model Reference > AttributeExpression Property

AttributeExpression Property

Specifies an advanced conditional build expression for a help target.

Type

Applies To

String

Help Target (Help 2.0)
Help Target (NetHelp)
Help Target (HTML Help)
Help Target (JavaHelp)
Help Target (WinHelp)
Help Target (Manual)

Remarks

By default, this property is empty, meaning that the condition is determined by the target's attributes, or the Attributes tab in the property browser for this target. If you enter a non-empty condition in the AttributeExpression property, the Attributes tab in the property browser becomes unavailable because the condition is now determined by this property.

The AttributeExpression property allows you to use any combination of attributes with the logical operators OR, AND and NOT. For example, if you enter the following condition in the AttributeExpression property, only conditional text with both attribute values Novice and Expert applied or with the attribute value Administrator applied appears in the Help target.

Skill:Novice AND Skill:Expert OR Skill:Administrator

If you specifying the following condition in the AttributeExpression property, only conditional text that has the attribute value Expert and not Novice applied appears in the Help target:

Skill:Expert AND NOT Skill:Novice

Clear the AttributeExpression property to access the Attributes tab in the property browser again.

See Using Attributes for more information on attributes and the AttributeExpression property.

Location

      Click the Project Icon.

      Select the Help Targets item from the left pane Tree View.

      The property is located under the Build group in the Properties Pane.