Installation manual
STAR-LINK™
62
5
METHOD REMOVE
PURPOSE
Removes a device object.
DESCRIPTION
This method removes a device object from the collection. If the device does not exist,
the function fails.
IDL
[id(2), helpstring("method Remove")] HRESULT Remove([in]VARIANT SatID);
INPUT PARAMETERS
SatID: Short
The ID of device object to be removed.
OUTPUT VALUE
None
EXAMPLE
...
Dim DevObject as Sat
...
Set DevObject = RFNCCTL.Device.Add(1500)
DevObject.DataWrite “foo string data”
...
‘ Remove device 1500 from the collection
RFNCCTL.Devices.Remove(1500)
...