Official Content

Clears all collection elements.  

Syntax

&VarBasedOnSDTCollection.Clear()

Where:

&VarBasedOnSDTCollection
     
It must be a variable based on an SDT collection (or a variable based on a simple SDT and defined as a collection).

Scope

Generators: .NET, .NET Framework, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

See Also

Structured Data Type methods 
Structured Data Type (SDT) object



Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant