beckhoff TE1000 TwinCAT 3 — 5.2.1 ITcSmTreeItem

API | ITcSmTreeItem See also ITcSmEnumTreeItem [ } 96] : typed enumerator ITcTreeItemCollection [ } 91] : collection of Tree Items 5.2.1 ITcSmTreeItem | ITcSmTreeItem Extended by: ITcSmTreeItem2 [ } 61] ITcSmTreeItem is the basic interface for every automation Tree Item. It provides access to the name, type, path, parent/child relationships, variables, XML serialization, and basic child operations. Properties TE1000 56 Version: 1.7.0 Version Newly introduced ITcSmTreeItem5 [} 62] Language-independent name. ITcSmTreeItem6 [} 62] User files: signature, encryption, Object Protection Level. ITcSmTreeItem7 [} 63] Collection access to child nodes, reference back to the owning System Manager.

ITcSmTreeItem8 [} 63] Access to the Visual Studio ProjectItem. ITcSmTreeItem9 [} 64] Flags for project variants (Define, Disable, Link, Parameter, SParameter). ITcSmTreeItem10 [} 65] Support for project variants in simulation states. Property Type get/set Description Child ITcSmTreeItem** get Returns a direct child based on a 1-based index. ChildCount long* get Returns the number of direct children. Comment BSTR get/set Reads or sets the item's comment. Disabled DISABLED STATE _ get/set Reads or sets the deactivation status. ItemSubType long get/set Reads or sets the SubType, provided that the specific item supports SubTypes. ItemSubTypeName BSTR* get Returns the readable SubType/type name.

ItemType long* get Returns the numeric Tree Item type. Name BSTR get/set Reads or sets the display name of the item. Parent ITcSmTreeItem** get Returns the parent Tree Item. PathName BSTR* get Returns the hierarchical path name of the item. Var ITcSmTreeItem** get Returns a variable based on its direction and index.