ltmmTargetFormats.Add Method

Visual Basic Example 1

Visual Basic Example 2

 

Syntax

object.Add(Name As String, Index As Long)

Remarks

Adds a format to the collection. The user may not insert a format before a predefined (ReadOnly) format. Check the initial Count value to determine the end of the predefined list.

The user should set the properties of the added format.

If the method fails, an error is raised. For more information, refer to the Error Codes.

See Also

Elements:

ltmmTargetFormats.Item Method, ltmmTargetFormats.Count Property, ltmmTargetFormats.Remove Method, ltmmTargetFormat Object

Topics:

Multimedia Properties, Methods and Events