共用方式為


IMediaPosition.CanSeekForward

 
Microsoft DirectShow 9.0

IMediaPosition.CanSeekForward

  • Note   This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.

The CanSeekForward method queries whether the stream can be seeked forward.

Syntax

  objMediaPosition
  .CanSeekForward() As Long

Parameters

This method takes no parameters.

Return Values

Returns True if the stream can be seeked forward, or False otherwise.

Example Code

If iPosition.CanSeekBackward Then
    ' Seek forward 5 seconds.
    IPosition.CurrentPosition = iPosition.CurrentPosition + 5.0
End If

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also