The SetMediaType method is not supported for Visual Basic. Use the SetMediaTypeForVB method instead.
Syntax
object.SetMediaType( pmt As _AMMediaType )
See Also