SoundPlayer Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Media
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

Releases all resources used by the Component.(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the Component and optionally releases the managed resources.(Inherited from Component.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.(Inherited from Component.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetService(Type)

Returns an object that represents a service provided by the Component or by its Container.(Inherited from Component.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodLoad()

Loads a sound synchronously.

System_CAPS_pubmethodLoadAsync()

Loads a .wav file from a stream or a Web resource using a new thread.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodOnLoadCompleted(AsyncCompletedEventArgs)

Raises the LoadCompleted event.

System_CAPS_protmethodOnSoundLocationChanged(EventArgs)

Raises the SoundLocationChanged event.

System_CAPS_protmethodOnStreamChanged(EventArgs)

Raises the StreamChanged event.

System_CAPS_pubmethodPlay()

Plays the .wav file using a new thread, and loads the .wav file first if it has not been loaded.

System_CAPS_pubmethodPlayLooping()

Plays and loops the .wav file using a new thread, and loads the .wav file first if it has not been loaded.

System_CAPS_pubmethodPlaySync()

Plays the .wav file and loads the .wav file first if it has not been loaded.

System_CAPS_pubmethodStop()

Stops playback of the sound if playback is occurring.

System_CAPS_pubmethodToString()

Returns a String containing the name of the Component, if any. This method should not be overridden.(Inherited from Component.)

Return to top
Show: