Skip to content

Remove Method

Description

Removes the specified item from the collection.

Syntax

Public Sub Remove( _
    ByVal [Index](#) As Variant _
)

Parameters

  • Index
    An integer or string that uniquely identifies the object within the collection. Use an integer to specify the value of the Index property; use a string to specify the value of the Key property.

Remarks

To remove all the members of a collection, use the Clear method.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.