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 | |
---|---|---|
ActualSeekPosition | Gets or sets the ActualSeekPosition property. | |
Success | Gets or sets the Success property to indicate that the seek operation is successful. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.