Click or drag to resize

IMcLensesRemove Method

Removes the lens object from the McLenses collection.

Namespace:  MediaCy.IQL.Microscopy.Info
Assembly:  MediaCy.IQL.Microscopy.Info (in MediaCy.IQL.Microscopy.Info.dll) Version: 10.0.6912.0
Syntax
VB
Sub Remove ( 
	LensId As Object
)

Parameters

LensId
Type: SystemObject
Remarks
Removes the lens object from the collection and calls Release on it. The lens ID can be a zero-based index of the lens in the collection, or the name of the lens. Note that lens names are not guaranteed to be unique, so removing an lens by name removes the first lens with that name.
See Also