共用方式為


IMediaPosition.CanSeekBackward

 
Microsoft DirectShow 9.0

IMediaPosition.CanSeekBackward

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

The CanSeekBackward method queries whether the stream can be seeked backward.

Syntax

  objMediaPosition
  .CanSeekBackward() As Long

Parameters

This method takes no parameters.

Return Values

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

Example Code

If iPosition.CanSeekBackward Then
    ' Seek back to the beginning.
    IPosition.CurrentPosition = 0
End If

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also