All Cadcorp SIS API Methods

EmptyList Method

Description

Empties all of the Items from a Named List and deletes the Named List.

Syntax

Visual Basic
Public Function EmptyList( _
   ByVal list As String _
) As Integer

Parameters

list
The Named List to empty and delete.

Remarks

Every time a list is used, the results are appended to the current values in the list, unless it has been emptied.

The EmptyList method does not delete the items within Cadcorp SIS Desktop. To delete the items in a list, use the Delete method.

Available: GEO D OD OM OV SISpy

Group:

Example

sis.EmptyList ("List1")