AudioCollection Class

Represents a collection of embedded audio files.
Inheritance Hierarchy
SystemObject
  Aspose.SlidesAudioCollection

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.7.0.0 (21.7)
Syntax
public class AudioCollection : ICollection, 
	IEnumerable, IGenericCollection<IAudio>, IEnumerable<IAudio>, 
	IAudioCollection

The AudioCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Returns a number of audio files in the collection. Read-only Int32.
Public propertyIsSynchronized
Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only Boolean.
Public propertyItem
Gets the element at the specified index. Read-only IAudio.
Public propertySyncRoot
Returns a synchronization root. Read-only Object.
Methods
  NameDescription
Public methodAddAudio(Byte)
Creates and adds a audio to a presentation from byte array.
Public methodAddAudio(Stream)
Creates and adds a audio to a presentation from stream.
Public methodAddAudio(IAudio)
Adds a copy of an audio file from an another presentation.
Public methodAddAudio(Stream, LoadingStreamBehavior)
Creates and adds a audio to a presentation from stream.
Public methodCopyTo
Copies audios to specified array starting from specified index.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also