Sub List Class

RemoveAll

Remove all of the Values from the List and reinitialize it.

Signature (Visual Basic / VBA)

Public Sub RemoveAll()

Code Example

    Assuming
       Dim lstTemp As New List
       lstTemp.Add "FunctionName"
       lstTemp.Add "PropertyName"
    for example
       lstTemp.RemoveAll
    leaves
       lstTemp.Count = 0