AddObject Method
IntelliCAD 11.1 Object Library | |
AddObject Method | |
See Also |
- Keyword
- The keyword name used to locate the object in the dictionary.
- ObjectName
- The name of the object to be added to the dictionary.
Dictionary Collection : AddObject Method |
Description
Adds an object to a named dictionary.
Syntax
Visual Basic |
---|
Public Function AddObject( _ ByVal Keyword As String, _ ByVal ObjectName As String _ ) As Object |
Parameters
- Keyword
- The keyword name used to locate the object in the dictionary.
- ObjectName
- The name of the object to be added to the dictionary.
Remarks
The new object overrides an existing entry, if one exists. The defined object must be loaded for this method to work.