共用方式為


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 (Inherited from ValueType.)
Public Method GetHashCode (Inherited from ValueType.)
Public Method GetType (Inherited from Object.)
Public Method Pause Pauses all sounds associated with this category.
Public Method ReferenceEquals (Inherited from Object.)
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 (Inherited from ValueType.)

Protected Methods

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

See Also

Tasks

How to: Play a Sound
How to: Stop or Pause a Sound
How to: Change Sound Volume Levels

Concepts

Audio Overview

Reference

AudioCategory Structure
Microsoft.Xna.Framework.Audio Namespace