DeleteObject Method
The CreateObject, ReadObject, UpdateObject and DeleteObject API methods provide access to the same resource-based programming model as used in the GeognoSIS HTTP API with a REST client.
Description
Deletes an object in the current SWD.
This is the GisLink and ActiveX equivalent of the HTTP API DELETE method.
Syntax
Visual Basic |
---|
Public Function DeleteObject( _ ByVal url As String, _ ) As Integer |
Parameters
- url
- The url of the object to be deleted.
Remarks
Available: D OD OM SISPy PySIS
Group:
Examples
mapobject.DeleteObject (“sis://api/Map/Overlays/3.json”)
Deletes overlay 3 in the current swd.
mapobject.DeleteObject (“sis://api/Map/Overlays/3/Items.json”)
Deletes all the items on overlay 3
mapobject.DeleteObject (“sis://api/Map/Overlays/3.json”)
Deletes overlay 3