| Microsoft DirectX 8.1 (C++) | 
The AMTimelineGroup.SetMediaTypeForVB method specifies the media type for the group.
Syntax
object.SetMediaTypeForVB(
    Val As Long
)
Parameters
Val
Value that specifies the media type:
| Value | Description | 
| Zero | Video | 
| Non-zero | Audio | 
Error Codes
If the method fails, an error is raised.
Remarks
This method supports the following formats.
See Also