Remove Method

Applies To

LinkedWindows collection, References collection, VBComponents collection.

Description

Removes an item from a collection.

Syntax

object.Remove(component)

The Remove syntax has these parts:

Part

Description

object

Required. An object expression that evaluates to an object in the Applies To list.

component

Required. For the LinkedWindows collection, an object. For the References collection, a reference to a type library or a project. For the VBComponents collection, an enumerated constant representing a class module, a form, or a standard module.


Remarks

When used on the LinkedWindows collection, the Remove method removes a window from the collection of currently linked windows. The removed window becomes a floating window that has its own linked window frame.