Owner manual
OpenLNS Programmer's Reference 191
ConnectDescTemplates
A ConnectDescTemplates object is a collection of ConnectDescTemplate objects. The instance
of this object is accessed through the TemplateLibrary object holds all of the
ConnectDescTemplate objects in the system. The following table summarizes the
ConnectDescTemplates object.
Description
A collection of ConnectDescTemplate objects.
Added to API
Prior to LNS Release 3.0.
Accessed Through
TemplateLibrary object.
Default Property
Item
Methods
• Add
• ItemByHandle
• Remove
Properties
• ClassId
• Count
• Item
• Parent
• _NewEnum
Methods
The ConnectDescTemplates object contains the following methods.
• Add
• ItemByHandle
• Remove
Add
Summary
Defines a new ConnectDescTemplate object. A
ConnectDescTemplate object needs to be created and
initialized before use. It may optionally be assigned to a
NetworkVariable or MessageTag object before invoking the
Connect method on that NetworkVariable or MessageTag
object.
Availability
Local, full, and lightweight clients.
Syntax
cdTemplateObject = cdTemplatesColl.Add(cdTemplateName)
Element
Description
cdTemplateObject
The newly defined
ConnectDescTemplate object.
cdTemplatesColl
The ConnectDescTemplates collection
object.
cdTemplateName
A String containing the name of the
connection description template.
Added to API
Prior to LNS Release 3.0.