Bagikan melalui


AudioCategory Members

The following tables list the members exposed by the AudioCategory type.

Public Properties

Name Description
Public Property Name Specifies the friendly name of this category.

Public Methods

Name Description
Public Method Equals Overloaded. Determines whether two instances of AudioCategory are equal.
Public Method GetHashCode Gets the hash code for this instance.
Public Method GetType (Inherited from Object.)
Public Method Static op_Equality Determines whether the specified AudioCategory instances are equal.
Public Method Static op_Inequality Determines whether the specified AudioCategory instances are not equal.
Public Method Pause Pauses all sounds associated with this category.
Public Method Resume Resumes all paused sounds associated with this category.
Public Method SetVolume Sets the volume of all sounds associated with this category.
Public Method Stop Stops all sounds associated with this category.
Public Method ToString Returns a String representation of this AudioCategory.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Tasks

Playing Sounds from an XACT Project
Pausing a Sound (XACT)
Adjusting Volume (XACT)

Concepts

Sounds Overview

Reference

AudioCategory Structure
Microsoft.Xna.Framework.Audio Namespace