SeekCompletedEventArgs Class

Class used to pass event argument information when a seek event completes.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.Web.Media.SmoothStreaming.SeekCompletedEventArgs

Namespace:  Microsoft.Web.Media.SmoothStreaming
Assembly:  Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)

Syntax

'Declaration

Public Class SeekCompletedEventArgs _
    Inherits EventArgs
'Usage

Dim instance As SeekCompletedEventArgs
public class SeekCompletedEventArgs : EventArgs
public ref class SeekCompletedEventArgs : public EventArgs
type SeekCompletedEventArgs =  
    class
        inherit EventArgs
    end
public class SeekCompletedEventArgs extends EventArgs

The SeekCompletedEventArgs type exposes the following members.

Properties

  Name Description
Public propertySupported by Windows Phone ActualSeekPosition Gets or sets the ActualSeekPosition property.
Public propertySupported by Windows Phone Success Gets or sets the Success property to indicate that the seek operation is successful.

Top

Methods

  Name Description
Public methodSupported by Windows Phone Equals (Inherited from Object.)
Protected methodSupported by Windows Phone Finalize (Inherited from Object.)
Public methodSupported by Windows Phone GetHashCode (Inherited from Object.)
Public methodSupported by Windows Phone GetType (Inherited from Object.)
Protected methodSupported by Windows Phone MemberwiseClone (Inherited from Object.)
Public methodSupported by Windows Phone ToString (Inherited from Object.)

Top

Remarks

For more information, see the example in the topic Events.

Examples

The following code uses the SeekCompletedEventArgs parameter to find the position of the player after a seek operation.

    void SmoothPlayer_SeekCompleted(object sender, SeekCompletedEventArgs e)
    {
        OutputText.Text = "  Seek complete at: " + ((SmoothStreamingMediaElement)sender).Position;
    }

Version Information

Silverlight

Supported in: 5

Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Web.Media.SmoothStreaming Namespace