ltmmCaptureSubTypes.Item Method

Visual Basic example

Syntax

object.Item(Index As Long) As ltmmCaptureSubType

Remarks

Retrieves the subtype object at the specified zero based index.

This method will fail if the index is out or range. To find out the number of subtypes, check the ltmmCaptureSubTypes.Count property.

The ltmmCaptureCtrl.VideoCaptureSubTypes property is updated with an ltmmCaptureSubTypes object that contains all the subtypes available for the current capture device. The ltmmCaptureSubTypes.Item Method obtains an ltmmCaptureSubType object for each of the supported subtypes. The ltmmCaptureSubType properties of each ltmmCaptureSubType object, obtained using the Item method, are updated with information about that specific subtype. This information includes the Name property, and the FriendlyName property.

Platforms

Win32, x64

See Also

Elements:

ltmmCaptureSubTypes.Count property, ltmmCaptureSubTypes.Find method, ltmmCaptureSubTypes.Selection property

Topics:

Multimedia Properties, Methods and Events