STAR-LINK™
60
5
5.2 METHODS
METHOD ADD
PURPOSE
Adds a device object.
DESCRIPTION
This method adds a device object to the collection. You may add devices with their
ID between 0 and 1999.
IDL
[id(1), helpstring("method Add")] HRESULT Add(VARIANT DevID, [out, retval]
IDevice **pVal)
INPUT PARAMETERS
DevID: Short
The ID of device object to be added.
OUTPUT VALUE
Pointer to dispatch the interface of the object just added.
EXAMPLE
...
Dim DevObject as Device
...
‘ Add device 1500 to the collection
Set DevObject = RFNCCTL.Devices.Add(1500)
DevObject.DataWrite “foo string data”
...
Commentaires sur ces manuels