SetClassLabel
Purpose
SetClassLabel applies the current label to all objects in the specified classes.
Description
If bPropagate is true, the label will also be applied recursively to all destination objects reachable from the class's objects, else only the specific objects in the class will receive the label. The label is only applied to the currently published version for each object in a class.
Requirements:
The object ID (internal or globally unique) or the name must be set.
Syntax
HRESULT SetClassLabel(
LLOBJECTID_t &classList,
const bool bPropagate = true);
Argument |
In/Out |
Description |
classList |
In |
List of object IDs for the classes to be labeled. |
bPropagate |
In |
Flag indicating if the label should also apply to all objects reachable from the class objects. |